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