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