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