mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
1.4 KiB
1.4 KiB
LabelDetail
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] | |
| ids | List[str] | Array of agent/test/dashboard IDs the label is assigned to, depending on the type of label. | [optional] |
Example
from labels.models.label_detail import LabelDetail
# TODO update the JSON string below
json = "{}"
# create an instance of LabelDetail from a JSON string
label_detail_instance = LabelDetail.from_json(json)
# print the JSON string representation of the object
print(LabelDetail.to_json())
# convert the object into a dict
label_detail_dict = label_detail_instance.to_dict()
# create an instance of LabelDetail from a dict
label_detail_from_dict = LabelDetail.from_dict(label_detail_dict)