Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 5.79 KB

ZoneUpdateZoneRecordMessage.md

File metadata and controls

186 lines (101 loc) · 5.79 KB

ZoneUpdateZoneRecordMessage

Properties

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]
Labels Pointer to map[string]string A key/value pair of user-defined labels for a DNS zone record Zone record labels are not processed by StackPath and are solely used for users to organize their DNS zones. [optional]

Methods

NewZoneUpdateZoneRecordMessage

func NewZoneUpdateZoneRecordMessage() *ZoneUpdateZoneRecordMessage

NewZoneUpdateZoneRecordMessage instantiates a new ZoneUpdateZoneRecordMessage 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

NewZoneUpdateZoneRecordMessageWithDefaults

func NewZoneUpdateZoneRecordMessageWithDefaults() *ZoneUpdateZoneRecordMessage

NewZoneUpdateZoneRecordMessageWithDefaults instantiates a new ZoneUpdateZoneRecordMessage 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

GetName

func (o *ZoneUpdateZoneRecordMessage) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *ZoneUpdateZoneRecordMessage) 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.

SetName

func (o *ZoneUpdateZoneRecordMessage) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *ZoneUpdateZoneRecordMessage) HasName() bool

HasName returns a boolean if a field has been set.

GetType

func (o *ZoneUpdateZoneRecordMessage) GetType() ZoneRecordType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *ZoneUpdateZoneRecordMessage) 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.

SetType

func (o *ZoneUpdateZoneRecordMessage) SetType(v ZoneRecordType)

SetType sets Type field to given value.

HasType

func (o *ZoneUpdateZoneRecordMessage) HasType() bool

HasType returns a boolean if a field has been set.

GetTtl

func (o *ZoneUpdateZoneRecordMessage) GetTtl() int32

GetTtl returns the Ttl field if non-nil, zero value otherwise.

GetTtlOk

func (o *ZoneUpdateZoneRecordMessage) 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.

SetTtl

func (o *ZoneUpdateZoneRecordMessage) SetTtl(v int32)

SetTtl sets Ttl field to given value.

HasTtl

func (o *ZoneUpdateZoneRecordMessage) HasTtl() bool

HasTtl returns a boolean if a field has been set.

GetData

func (o *ZoneUpdateZoneRecordMessage) GetData() string

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *ZoneUpdateZoneRecordMessage) 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.

SetData

func (o *ZoneUpdateZoneRecordMessage) SetData(v string)

SetData sets Data field to given value.

HasData

func (o *ZoneUpdateZoneRecordMessage) HasData() bool

HasData returns a boolean if a field has been set.

GetWeight

func (o *ZoneUpdateZoneRecordMessage) GetWeight() int32

GetWeight returns the Weight field if non-nil, zero value otherwise.

GetWeightOk

func (o *ZoneUpdateZoneRecordMessage) 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.

SetWeight

func (o *ZoneUpdateZoneRecordMessage) SetWeight(v int32)

SetWeight sets Weight field to given value.

HasWeight

func (o *ZoneUpdateZoneRecordMessage) HasWeight() bool

HasWeight returns a boolean if a field has been set.

GetLabels

func (o *ZoneUpdateZoneRecordMessage) GetLabels() map[string]string

GetLabels returns the Labels field if non-nil, zero value otherwise.

GetLabelsOk

func (o *ZoneUpdateZoneRecordMessage) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLabels

func (o *ZoneUpdateZoneRecordMessage) SetLabels(v map[string]string)

SetLabels sets Labels field to given value.

HasLabels

func (o *ZoneUpdateZoneRecordMessage) HasLabels() bool

HasLabels returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]