mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-05 23:45:30 +00:00
1.8 KiB
1.8 KiB
TestSelfLink
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| href | str | Its value is either a URI [RFC3986] or a URI template [RFC6570]. | |
| templated | bool | Should be true when the link object's "href" property is a URI template. | [optional] |
| type | str | Used as a hint to indicate the media type expected when dereferencing the target resource. | [optional] |
| deprecation | str | Its presence indicates that the link is to be deprecated at a future date. Its value is a URL that should provide further information about the deprecation. | [optional] |
| name | str | Its value may be used as a secondary key for selecting link objects that share the same relation type. | [optional] |
| profile | str | A URI that hints about the profile of the target resource. | [optional] |
| title | str | Intended for labelling the link with a human-readable identifier | [optional] |
| hreflang | str | Indicates the language of the target resource | [optional] |
Example
from thousandeyes_sdk.alerts.models.test_self_link import TestSelfLink
# TODO update the JSON string below
json = "{}"
# create an instance of TestSelfLink from a JSON string
test_self_link_instance = TestSelfLink.from_json(json)
# print the JSON string representation of the object
print(TestSelfLink.to_json())
# convert the object into a dict
test_self_link_dict = test_self_link_instance.to_dict()
# create an instance of TestSelfLink from a dict
test_self_link_from_dict = TestSelfLink.from_dict(test_self_link_dict)