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