mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 16:05:30 +00:00
31 lines
1005 B
Markdown
31 lines
1005 B
Markdown
# Resource
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**type** | **str** | Type of resource affected. Can be “testName”, “reportTitle”, “userDisplayName”, “alertRuleName”, etc. | [optional]
|
|
**name** | **str** | Name of the affected resource. | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
from thousandeyes_sdk.administrative.models.resource import Resource
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of Resource from a JSON string
|
|
resource_instance = Resource.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print(Resource.to_json())
|
|
|
|
# convert the object into a dict
|
|
resource_dict = resource_instance.to_dict()
|
|
# create an instance of Resource from a dict
|
|
resource_from_dict = Resource.from_dict(resource_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)
|
|
|
|
|