Skip to content

Latest commit

History

History
32 lines (23 loc) · 1.24 KB

File metadata and controls

32 lines (23 loc) · 1.24 KB

OptimizeDocumentRequest

Properties

NameTypeDescriptionNotes
file_urlstrPublic URL to a PDF document
namestrName for the PDF file[optional]
outputstrReturned document output format[optional] [default to 'base64']
file_base64strPDF document in base64 encoded string format

Example

frompdf_generator_api_client.models.optimize_document_requestimportOptimizeDocumentRequest# TODO update the JSON string belowjson="{}"# create an instance of OptimizeDocumentRequest from a JSON stringoptimize_document_request_instance=OptimizeDocumentRequest.from_json(json)
# print the JSON string representation of the objectprint(OptimizeDocumentRequest.to_json())
# convert the object into a dictoptimize_document_request_dict=optimize_document_request_instance.to_dict()
# create an instance of OptimizeDocumentRequest from a dictoptimize_document_request_from_dict=OptimizeDocumentRequest.from_dict(optimize_document_request_dict)

[Back to Model list][Back to API list][Back to README]