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