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