Skip to content

Latest commit

History

History
36 lines (27 loc) · 1.61 KB

File metadata and controls

36 lines (27 loc) · 1.61 KB

TemplateDefinition

Properties

NameTypeDescriptionNotes
idintUnique identifier[optional]
namestrTemplate name[optional]
tagsList[str]A list of tags assigned to a template[optional]
is_draftboolIndicates if the template is a draft or published.[optional]
layoutTemplateDefinitionNewLayout[optional]
pagesList[TemplateDefinitionPagesInner]Defines page or label size, margins and components on page or label[optional]
data_settingsTemplateDefinitionDataSettings[optional]
editorTemplateDefinitionEditor[optional]

Example

frompdf_generator_api_client.models.template_definitionimportTemplateDefinition# TODO update the JSON string belowjson="{}"# create an instance of TemplateDefinition from a JSON stringtemplate_definition_instance=TemplateDefinition.from_json(json)
# print the JSON string representation of the objectprint(TemplateDefinition.to_json())
# convert the object into a dicttemplate_definition_dict=template_definition_instance.to_dict()
# create an instance of TemplateDefinition from a dicttemplate_definition_from_dict=TemplateDefinition.from_dict(template_definition_dict)

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