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