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