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