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