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