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