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