RenderPdfTemplateDto

Properties

NameTypeDescriptionNotes
template_idfloatID of the template to render
file_namestrOutput filename for the generated PDF[optional]
contextDict[str, object]Context variables to inject into the template
metadataPdfMetadataPDF metadata (title, author, subject, etc.)[optional]
rendererstrOverride the template renderer for this request[optional]

Example

from pdf_generator_client.models.render_pdf_template_dto import RenderPdfTemplateDto

# TODO update the JSON string below
json = "{}"
# create an instance of RenderPdfTemplateDto from a JSON string
render_pdf_template_dto_instance = RenderPdfTemplateDto.from_json(json)
# print the JSON string representation of the object
print(RenderPdfTemplateDto.to_json())

# convert the object into a dict
render_pdf_template_dto_dict = render_pdf_template_dto_instance.to_dict()
# create an instance of RenderPdfTemplateDto from a dict
render_pdf_template_dto_from_dict = RenderPdfTemplateDto.from_dict(render_pdf_template_dto_dict)

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