mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
35 lines
1.5 KiB
Markdown
35 lines
1.5 KiB
Markdown
# 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**](LabelType.md) | | [optional]
|
|
**ids** | **List[str]** | Array of agent/test/dashboard IDs the label is assigned to, depending on the type of label. | [optional]
|
|
**links** | [**SelfLinks**](SelfLinks.md) | | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|