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