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