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