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