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