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