Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | The name of the network node to which a zone resource record pertains Use the value "@" to denote current root domain name. | [optional] |
Type | Pointer to string | A zone record's type Zone record types describe the zone record's behavior. For instance, a zone record's type can say that the record is a name to IP address value, a name alias, or which mail exchanger is responsible for the domain. See https://support.stackpath.com/hc/en-us/articles/360001085563-What-DNS-record-types-does-StackPath-support for more information. | [optional] |
Class | Pointer to string | A zone record's class code This is typically "IN" for Internet related resource records. | [optional] |
Ttl | Pointer to int32 | A zone record's time to live A record's TTL is the number of seconds that the record should be cached by DNS resolvers. Use lower TTL values if you expect zone records to change often. Use higher TTL values for records that won't change to prevent extra DNS lookups by clients. | [optional] |
Data | Pointer to string | A zone record's value Expected data formats can vary depending on the zone record's type. | [optional] |
func NewWafDnsRecord() *WafDnsRecord
NewWafDnsRecord instantiates a new WafDnsRecord object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWafDnsRecordWithDefaults() *WafDnsRecord
NewWafDnsRecordWithDefaults instantiates a new WafDnsRecord object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *WafDnsRecord) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *WafDnsRecord) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafDnsRecord) SetName(v string)
SetName sets Name field to given value.
func (o *WafDnsRecord) HasName() bool
HasName returns a boolean if a field has been set.
func (o *WafDnsRecord) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *WafDnsRecord) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafDnsRecord) SetType(v string)
SetType sets Type field to given value.
func (o *WafDnsRecord) HasType() bool
HasType returns a boolean if a field has been set.
func (o *WafDnsRecord) GetClass() string
GetClass returns the Class field if non-nil, zero value otherwise.
func (o *WafDnsRecord) GetClassOk() (*string, bool)
GetClassOk returns a tuple with the Class field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafDnsRecord) SetClass(v string)
SetClass sets Class field to given value.
func (o *WafDnsRecord) HasClass() bool
HasClass returns a boolean if a field has been set.
func (o *WafDnsRecord) GetTtl() int32
GetTtl returns the Ttl field if non-nil, zero value otherwise.
func (o *WafDnsRecord) GetTtlOk() (*int32, bool)
GetTtlOk returns a tuple with the Ttl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafDnsRecord) SetTtl(v int32)
SetTtl sets Ttl field to given value.
func (o *WafDnsRecord) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (o *WafDnsRecord) GetData() string
GetData returns the Data field if non-nil, zero value otherwise.
func (o *WafDnsRecord) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafDnsRecord) SetData(v string)
SetData sets Data field to given value.
func (o *WafDnsRecord) HasData() bool
HasData returns a boolean if a field has been set.