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