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