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