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