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