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