mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
1.7 KiB
1.7 KiB
Link
A hyperlink from the containing resource to a URI.
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.tests.models.link import Link
# TODO update the JSON string below
json = "{}"
# create an instance of Link from a JSON string
link_instance = Link.from_json(json)
# print the JSON string representation of the object
print(Link.to_json())
# convert the object into a dict
link_dict = link_instance.to_dict()
# create an instance of Link from a dict
link_from_dict = Link.from_dict(link_dict)