thousandeyes-sdk-python/thousandeyes-sdk-dashboards/docs/WidgetPosition.md
2026-04-15 17:42:42 +00:00

1.1 KiB

WidgetPosition

Position and size of a widget in the layout grid.

Properties

Name Type Description Notes
x int Horizontal position.
y int Vertical position.
w int Width in grid units.
h int Height in grid units.
id str Identifier of the widget this position applies to. [optional]

Example

from thousandeyes_sdk.dashboards.models.widget_position import WidgetPosition

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

# convert the object into a dict
widget_position_dict = widget_position_instance.to_dict()
# create an instance of WidgetPosition from a dict
widget_position_from_dict = WidgetPosition.from_dict(widget_position_dict)

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