DBFILESUserGeneratedTagSerializer
Objective-C
@interface DBFILESUserGeneratedTagSerializer : NSObject
Swift
class DBFILESUserGeneratedTagSerializer : NSObject
The serialization class for the UserGeneratedTag
struct.
-
Serializes
DBFILESUserGeneratedTag
instances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBFILESUserGeneratedTag *)instance;
Swift
class func serialize(_ instance: DBFILESUserGeneratedTag) -> [String : Any]?
Parameters
instance
An instance of the
DBFILESUserGeneratedTag
API object.Return Value
A json-compatible dictionary representation of the
DBFILESUserGeneratedTag
API object. -
Deserializes
DBFILESUserGeneratedTag
instances.Declaration
Objective-C
+ (nonnull DBFILESUserGeneratedTag *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;
Swift
class func deserialize(_ dict: [String : Any]) -> DBFILESUserGeneratedTag
Parameters
dict
A json-compatible dictionary representation of the
DBFILESUserGeneratedTag
API object.Return Value
An instantiation of the
DBFILESUserGeneratedTag
object.