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