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