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