Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.89 KB

File metadata and controls

38 lines (29 loc) · 1.89 KB

TemplateDefinitionNew

Template configuration

Properties

Name Type Description Notes
name str Template name
tags List[str] A list of tags assigned to a template [optional]
is_draft bool Indicates if the template is a draft or published. [optional]
layout TemplateDefinitionNewLayout [optional]
pages List[TemplateDefinitionNewPagesInner] Defines page or label size, margins and components on page or label [optional]
data_settings TemplateDefinitionNewDataSettings [optional]
editor TemplateDefinitionNewEditor [optional]
font_subsetting bool If font-subsetting is applied to document when generated [optional] [default to False]
barcode_as_image bool Defines if barcodes are rendered as raster images instead of vector graphics. [optional] [default to False]

Example

from pdf_generator_api_client.models.template_definition_new import TemplateDefinitionNew

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

# convert the object into a dict
template_definition_new_dict = template_definition_new_instance.to_dict()
# create an instance of TemplateDefinitionNew from a dict
template_definition_new_from_dict = TemplateDefinitionNew.from_dict(template_definition_new_dict)

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