mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 22:36:52 +00:00
* CP-2189 Update SDK names for admin and monitors modules * CP-2189 Move client to core * CP-2189 Change client to core
38 lines
1.7 KiB
Markdown
38 lines
1.7 KiB
Markdown
# 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
|
|
|
|
```python
|
|
from thousandeyes_sdk.bgp_monitors.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)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|