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