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