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