CreatePdfTemplateDto

Properties

NameTypeDescriptionNotes
namestrTemplate name
typestrTemplate type
rendererstrPDF renderer to use
page_sizestrPage size (e.g. A4, letter). Only used if pageWidthPt and pageHeightPt are not set.[optional]
page_width_ptfloatPage width in points[optional]
page_height_ptfloatPage height in points[optional]
marginMarginPage margins[optional]
header_height_ptfloatHeader height in points[optional]
footer_height_ptfloatFooter height in points[optional]
header_marginMarginHeader margin[optional]
footer_marginMarginFooter margin[optional]
defaultsCreatePdfTemplateDtoDefaults

Example

from pdf_generator_client.models.create_pdf_template_dto import CreatePdfTemplateDto

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

# convert the object into a dict
create_pdf_template_dto_dict = create_pdf_template_dto_instance.to_dict()
# create an instance of CreatePdfTemplateDto from a dict
create_pdf_template_dto_from_dict = CreatePdfTemplateDto.from_dict(create_pdf_template_dto_dict)

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