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