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