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