pdf_generator_api_client.model.template_definition.TemplateDefinition
Input Type
Accessed Type
Description
Notes
dict, frozendict.frozendict,
frozendict.frozendict,
Key
Input Type
Accessed Type
Description
Notes
id
decimal.Decimal, int,
decimal.Decimal,
Unique identifier
[optional]
name
str,
str,
Template name
[optional]
tags
list, tuple,
tuple,
A list of tags assigned to a template
[optional]
isDraft
bool,
BoolClass,
Indicates if the template is a draft or published.
[optional]
layout
dict, frozendict.frozendict,
frozendict.frozendict,
Defines template layout (e.g page format, margins).
[optional]
pages
list, tuple,
tuple,
Defines page or label size, margins and components on page or label
[optional]
dataSettings
dict, frozendict.frozendict,
frozendict.frozendict,
Defines filter and sort option for root data set.
[optional]
editor
dict, frozendict.frozendict,
frozendict.frozendict,
Configuration preferences for the editor
[optional]
any_string_name
dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader
frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO
any string name can be used but the value must be the correct type
[optional]
A list of tags assigned to a template
Input Type
Accessed Type
Description
Notes
list, tuple,
tuple,
A list of tags assigned to a template
Class Name
Input Type
Accessed Type
Description
Notes
items
str,
str,
Defines template layout (e.g page format, margins).
Input Type
Accessed Type
Description
Notes
dict, frozendict.frozendict,
frozendict.frozendict,
Defines template layout (e.g page format, margins).
Key
Input Type
Accessed Type
Description
Notes
format
str,
str,
Defines template page size
[optional] must be one of ["A4", "letter", "custom", ]
width
decimal.Decimal, int, float,
decimal.Decimal,
Page width in units
[optional]
height
decimal.Decimal, int, float,
decimal.Decimal,
Page height in units
[optional]
unit
str,
str,
Measure unit
[optional] must be one of ["cm", "in", ]
orientation
str,
str,
Page orientation
[optional] must be one of ["portrait", "landscape", ]
rotation
decimal.Decimal, int,
decimal.Decimal,
Page rotation in degrees
[optional] must be one of [0, 90, 180, 270, ]
margins
dict, frozendict.frozendict,
frozendict.frozendict,
Page margins in units
[optional]
repeatLayout
dict, frozendict.frozendict, None,
frozendict.frozendict, NoneClass,
Defines page size if layout is repeated on the page e.g sheet labels
[optional]
emptyLabels
decimal.Decimal, int,
decimal.Decimal,
Defines how many pages or labels should be empty
[optional]
any_string_name
dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader
frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO
any string name can be used but the value must be the correct type
[optional]
Page margins in units
Input Type
Accessed Type
Description
Notes
dict, frozendict.frozendict,
frozendict.frozendict,
Page margins in units
Key
Input Type
Accessed Type
Description
Notes
top
decimal.Decimal, int, float,
decimal.Decimal,
[optional]
right
decimal.Decimal, int, float,
decimal.Decimal,
[optional]
bottom
decimal.Decimal, int, float,
decimal.Decimal,
[optional]
left
decimal.Decimal, int, float,
decimal.Decimal,
[optional]
any_string_name
dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader
frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO
any string name can be used but the value must be the correct type
[optional]
Defines page size if layout is repeated on the page e.g sheet labels
Input Type
Accessed Type
Description
Notes
dict, frozendict.frozendict, None,
frozendict.frozendict, NoneClass,
Defines page size if layout is repeated on the page e.g sheet labels
Key
Input Type
Accessed Type
Description
Notes
format
str,
str,
Defines template page size
[optional] must be one of ["A4", "letter", "custom", ]
width
decimal.Decimal, int, float,
decimal.Decimal,
Page width in units
[optional]
height
decimal.Decimal, int, float,
decimal.Decimal,
Page height in units
[optional]
any_string_name
dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader
frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO
any string name can be used but the value must be the correct type
[optional]
Defines page or label size, margins and components on page or label
Input Type
Accessed Type
Description
Notes
list, tuple,
tuple,
Defines page or label size, margins and components on page or label
Class Name
Input Type
Accessed Type
Description
Notes
items
dict, frozendict.frozendict,
frozendict.frozendict,
Input Type
Accessed Type
Description
Notes
dict, frozendict.frozendict,
frozendict.frozendict,
Key
Input Type
Accessed Type
Description
Notes
width
decimal.Decimal, int, float,
decimal.Decimal,
Page width in units
[optional]
height
decimal.Decimal, int, float,
decimal.Decimal,
Page height in units
[optional]
margins
dict, frozendict.frozendict,
frozendict.frozendict,
[optional]
components
list, tuple,
tuple,
[optional]
any_string_name
dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader
frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO
any string name can be used but the value must be the correct type
[optional]
Input Type
Accessed Type
Description
Notes
dict, frozendict.frozendict,
frozendict.frozendict,
Key
Input Type
Accessed Type
Description
Notes
right
decimal.Decimal, int, float,
decimal.Decimal,
Page or label margin from right
[optional]
bottom
decimal.Decimal, int, float,
decimal.Decimal,
Page or label margin from bottom
[optional]
any_string_name
dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader
frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO
any string name can be used but the value must be the correct type
[optional]
Input Type
Accessed Type
Description
Notes
list, tuple,
tuple,
Defines filter and sort option for root data set.
Input Type
Accessed Type
Description
Notes
dict, frozendict.frozendict,
frozendict.frozendict,
Defines filter and sort option for root data set.
Key
Input Type
Accessed Type
Description
Notes
sortBy
list, tuple,
tuple,
[optional]
filterBy
list, tuple,
tuple,
[optional]
any_string_name
dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader
frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO
any string name can be used but the value must be the correct type
[optional]
Input Type
Accessed Type
Description
Notes
list, tuple,
tuple,
Class Name
Input Type
Accessed Type
Description
Notes
items
dict, frozendict.frozendict,
frozendict.frozendict,
Input Type
Accessed Type
Description
Notes
dict, frozendict.frozendict,
frozendict.frozendict,
Input Type
Accessed Type
Description
Notes
list, tuple,
tuple,
Class Name
Input Type
Accessed Type
Description
Notes
items
dict, frozendict.frozendict,
frozendict.frozendict,
Input Type
Accessed Type
Description
Notes
dict, frozendict.frozendict,
frozendict.frozendict,
Configuration preferences for the editor
Input Type
Accessed Type
Description
Notes
dict, frozendict.frozendict,
frozendict.frozendict,
Configuration preferences for the editor
Key
Input Type
Accessed Type
Description
Notes
heightMultiplier
decimal.Decimal, int, float,
decimal.Decimal,
[optional]
any_string_name
dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader
frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO
any string name can be used but the value must be the correct type
[optional]
[Back to Model list] [Back to API list] [Back to README]