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