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