Template component definition
| Name | Type | Description | Notes |
|---|---|---|---|
| cls | str | Defines component class/type | [optional] |
| id | str | Component id | [optional] |
| width | float | Width in units | [optional] |
| height | float | Height in units | [optional] |
| top | float | Position from the page top in units | [optional] |
| left | float | Position from the page left in units | [optional] |
| zindex | int | Defines the rendering order on page. Components with smaller zindex are rendered before | [optional] |
| value | str | Component value | [optional] |
| data_index | str | Defines data field for Table and Container components which are used to iterate over list of items | [optional] |
from pdf_generator_api_client.models.component import Component
# TODO update the JSON string below
json = "{}"
# create an instance of Component from a JSON string
component_instance = Component.from_json(json)
# print the JSON string representation of the object
print(Component.to_json())
# convert the object into a dict
component_dict = component_instance.to_dict()
# create an instance of Component from a dict
component_from_dict = Component.from_dict(component_dict)