Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | A zone record's name | [optional] |
Type | Pointer to ZoneRecordType | [optional] [default to "EMPTY"] | |
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] |
Weight | Pointer to int32 | A zone record's priority A resource record is replicated in StackPath's DNS infrastructure the number of times of the record's weight, giving it a more likely response to queries if a zone has records with the same name and type. | [optional] |
func NewZoneImportZoneRecord() *ZoneImportZoneRecord
NewZoneImportZoneRecord instantiates a new ZoneImportZoneRecord 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 NewZoneImportZoneRecordWithDefaults() *ZoneImportZoneRecord
NewZoneImportZoneRecordWithDefaults instantiates a new ZoneImportZoneRecord 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 *ZoneImportZoneRecord) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ZoneImportZoneRecord) 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 *ZoneImportZoneRecord) SetName(v string)
SetName sets Name field to given value.
func (o *ZoneImportZoneRecord) HasName() bool
HasName returns a boolean if a field has been set.
func (o *ZoneImportZoneRecord) GetType() ZoneRecordType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ZoneImportZoneRecord) GetTypeOk() (*ZoneRecordType, 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 *ZoneImportZoneRecord) SetType(v ZoneRecordType)
SetType sets Type field to given value.
func (o *ZoneImportZoneRecord) HasType() bool
HasType returns a boolean if a field has been set.
func (o *ZoneImportZoneRecord) GetTtl() int32
GetTtl returns the Ttl field if non-nil, zero value otherwise.
func (o *ZoneImportZoneRecord) 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 *ZoneImportZoneRecord) SetTtl(v int32)
SetTtl sets Ttl field to given value.
func (o *ZoneImportZoneRecord) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (o *ZoneImportZoneRecord) GetData() string
GetData returns the Data field if non-nil, zero value otherwise.
func (o *ZoneImportZoneRecord) 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 *ZoneImportZoneRecord) SetData(v string)
SetData sets Data field to given value.
func (o *ZoneImportZoneRecord) HasData() bool
HasData returns a boolean if a field has been set.
func (o *ZoneImportZoneRecord) GetWeight() int32
GetWeight returns the Weight field if non-nil, zero value otherwise.
func (o *ZoneImportZoneRecord) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ZoneImportZoneRecord) SetWeight(v int32)
SetWeight sets Weight field to given value.
func (o *ZoneImportZoneRecord) HasWeight() bool
HasWeight returns a boolean if a field has been set.