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