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