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