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