thousandeyes-sdk-python/thousandeyes-sdk-labels/docs/Label.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.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 thousandeyes_sdk.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)

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