mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-08-04 16:56:52 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
1.3 KiB
1.3 KiB
DnsResourceRecord
A DNS resource record from the question or answer section.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | Record name. | [optional] [readonly] |
| type | DnsResourceRecordType | [optional] | |
| var_class | DnsResourceRecordClass | [optional] | |
| ttl | int | Time to live in seconds. | [optional] [readonly] |
| data | str | Record data (RDATA). | [optional] [readonly] |
Example
from thousandeyes_sdk.test_results.models.dns_resource_record import DnsResourceRecord
# TODO update the JSON string below
json = "{}"
# create an instance of DnsResourceRecord from a JSON string
dns_resource_record_instance = DnsResourceRecord.from_json(json)
# print the JSON string representation of the object
print(DnsResourceRecord.to_json())
# convert the object into a dict
dns_resource_record_dict = dns_resource_record_instance.to_dict()
# create an instance of DnsResourceRecord from a dict
dns_resource_record_from_dict = DnsResourceRecord.from_dict(dns_resource_record_dict)