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