thousandeyes-sdk-python/thousandeyes-sdk-labels/docs/LabelRequest.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

31 lines
1.0 KiB
Markdown

# LabelRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | The name of the new label - this must be unique. | [optional]
**ids** | **List[str]** | Array of agent/test/dashboard ids the label should be assigned to, depending on the type of label | [optional]
## Example
```python
from thousandeyes_sdk.labels.models.label_request import LabelRequest
# TODO update the JSON string below
json = "{}"
# create an instance of LabelRequest from a JSON string
label_request_instance = LabelRequest.from_json(json)
# print the JSON string representation of the object
print(LabelRequest.to_json())
# convert the object into a dict
label_request_dict = label_request_instance.to_dict()
# create an instance of LabelRequest from a dict
label_request_from_dict = LabelRequest.from_dict(label_request_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)