DBACCOUNTPhotoSourceArgSerializer
Objective-C
@interface DBACCOUNTPhotoSourceArgSerializer : NSObject
Swift
class DBACCOUNTPhotoSourceArgSerializer : NSObject
The serialization class for the DBACCOUNTPhotoSourceArg union.
-
Serializes
DBACCOUNTPhotoSourceArginstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBACCOUNTPhotoSourceArg *)instance;Swift
class func serialize(_ instance: DBACCOUNTPhotoSourceArg) -> [String : Any]?Parameters
instanceAn instance of the
DBACCOUNTPhotoSourceArgAPI object.Return Value
A json-compatible dictionary representation of the
DBACCOUNTPhotoSourceArgAPI object. -
Deserializes
DBACCOUNTPhotoSourceArginstances.Declaration
Objective-C
+ (nonnull DBACCOUNTPhotoSourceArg *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBACCOUNTPhotoSourceArgParameters
dictA json-compatible dictionary representation of the
DBACCOUNTPhotoSourceArgAPI object.Return Value
An instantiation of the
DBACCOUNTPhotoSourceArgobject.
View on GitHub
DBACCOUNTPhotoSourceArgSerializer Class Reference