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