thousandeyes-sdk-python/thousandeyes-sdk-administrative/docs/Resource.md
2024-06-04 10:11:14 +01:00

996 B

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

from thousandeyes_sdk.admin.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] [Back to API list] [Back to README]