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