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