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