Skip to content

Latest commit

History

History
34 lines (25 loc) · 1.39 KB

File metadata and controls

34 lines (25 loc) · 1.39 KB

EncryptDocumentRequest

Properties

NameTypeDescriptionNotes
file_urlstrPublic URL to a PDF document
owner_passwordstrAn owner password to open the encrypted document
user_passwordstrAn user password to open the encrypted document[optional]
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.encrypt_document_requestimportEncryptDocumentRequest# TODO update the JSON string belowjson="{}"# create an instance of EncryptDocumentRequest from a JSON stringencrypt_document_request_instance=EncryptDocumentRequest.from_json(json)
# print the JSON string representation of the objectprint(EncryptDocumentRequest.to_json())
# convert the object into a dictencrypt_document_request_dict=encrypt_document_request_instance.to_dict()
# create an instance of EncryptDocumentRequest from a dictencrypt_document_request_from_dict=EncryptDocumentRequest.from_dict(encrypt_document_request_dict)

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