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