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] |
frompdf_generator_api_client.models.componentimportComponent# TODO update the JSON string belowjson="{}"# create an instance of Component from a JSON stringcomponent_instance=Component.from_json(json)
# print the JSON string representation of the objectprint(Component.to_json())
# convert the object into a dictcomponent_dict=component_instance.to_dict()
# create an instance of Component from a dictcomponent_from_dict=Component.from_dict(component_dict)