mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
1.2 KiB
1.2 KiB
Label
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| label_id | str | Unique ID of the label; this number is negative for built-in labels. Query `/v7/labels/{type}/{id}` endpoint to see the list of agent/test/dashboard ids with this label. | [optional] |
| is_built_in | bool | `true` for built-in labels, and `false` for user-created labels. Note that built-in labels are read-only. | [optional] |
| name | str | The name of the new label - this must be unique. | [optional] |
| type | LabelType | [optional] |
Example
from labels.models.label import Label
# TODO update the JSON string below
json = "{}"
# create an instance of Label from a JSON string
label_instance = Label.from_json(json)
# print the JSON string representation of the object
print(Label.to_json())
# convert the object into a dict
label_dict = label_instance.to_dict()
# create an instance of Label from a dict
label_from_dict = Label.from_dict(label_dict)