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