thousandeyes-sdk-python/thousandeyes-sdk-labels/docs/LabelDetail.md
Jack Browne 92b9a0126c
CP-2126 Refactor HTTP client into shared package (#5)
* CP-2126 Refactor HTTP client into shared package

* CP-2126 Regenerate Python SDK
2024-05-23 11:57:23 +01:00

1.5 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]
links SelfLinks [optional]

Example

from thousandeyes_sdk.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)

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