Skip to content

Latest commit

 

History

History
394 lines (213 loc) · 11.8 KB

File metadata and controls

394 lines (213 loc) · 11.8 KB

Domain

Properties

Name Type Description Notes
AxfrIps Pointer to []string The list of IPs that may perform a zone transfer for this Domain. The total combined length of all data within this array cannot exceed 1000 characters. Note. This is potentially dangerous, and should be set to an empty list unless you intend to use it. [optional]
Description Pointer to string A description for this Domain. This is for display purposes only. [optional]
Domain Pointer to string The domain this Domain represents. Domain labels cannot be longer than 63 characters and must conform to RFC1035. Domains must be unique on Linode's platform, including across different Linode accounts; there cannot be two Domains representing the same domain. [optional]
ExpireSec Pointer to int32 The amount of time in seconds that may pass before this Domain is no longer authoritative. - Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200. - Any other value is rounded up to the nearest valid value. - A value of 0 is equivalent to the default value of 1209600. [optional] [default to 0]
Group Pointer to string The group this Domain belongs to. This is for display purposes only. [optional]
Id Pointer to int32 This Domain's unique ID. [optional] [readonly]
MasterIps Pointer to []string The IP addresses representing the master DNS for this Domain. At least one value is required for `type` slave Domains. The total combined length of all data within this array cannot exceed 1000 characters. [optional]
RefreshSec Pointer to int32 The amount of time in seconds before this Domain should be refreshed. - Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200. - Any other value is rounded up to the nearest valid value. - A value of 0 is equivalent to the default value of 14400. [optional] [default to 0]
RetrySec Pointer to int32 The interval, in seconds, at which a failed refresh should be retried. - Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200. - Any other value is rounded up to the nearest valid value. - A value of 0 is equivalent to the default value of 14400. [optional] [default to 0]
SoaEmail Pointer to string Start of Authority email address. This is required for `type` master Domains. [optional]
Status Pointer to string Used to control whether this Domain is currently being rendered. [optional] [default to "active"]
Tags Pointer to []string An array of tags applied to this object. Tags are for organizational purposes only. [optional]
TtlSec Pointer to int32 "Time to Live" - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. - Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200. - Any other value is rounded up to the nearest valid value. - A value of 0 is equivalent to the default value of 86400. [optional] [default to 0]
Type Pointer to string Whether this Domain represents the authoritative source of information for the domain it describes (`master`), or whether it is a read-only copy of a master (`slave`). [optional]

Methods

NewDomain

func NewDomain() *Domain

NewDomain instantiates a new Domain 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

NewDomainWithDefaults

func NewDomainWithDefaults() *Domain

NewDomainWithDefaults instantiates a new Domain 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

GetAxfrIps

func (o *Domain) GetAxfrIps() []string

GetAxfrIps returns the AxfrIps field if non-nil, zero value otherwise.

GetAxfrIpsOk

func (o *Domain) GetAxfrIpsOk() (*[]string, bool)

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

SetAxfrIps

func (o *Domain) SetAxfrIps(v []string)

SetAxfrIps sets AxfrIps field to given value.

HasAxfrIps

func (o *Domain) HasAxfrIps() bool

HasAxfrIps returns a boolean if a field has been set.

GetDescription

func (o *Domain) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Domain) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *Domain) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Domain) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetDomain

func (o *Domain) GetDomain() string

GetDomain returns the Domain field if non-nil, zero value otherwise.

GetDomainOk

func (o *Domain) GetDomainOk() (*string, bool)

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

SetDomain

func (o *Domain) SetDomain(v string)

SetDomain sets Domain field to given value.

HasDomain

func (o *Domain) HasDomain() bool

HasDomain returns a boolean if a field has been set.

GetExpireSec

func (o *Domain) GetExpireSec() int32

GetExpireSec returns the ExpireSec field if non-nil, zero value otherwise.

GetExpireSecOk

func (o *Domain) GetExpireSecOk() (*int32, bool)

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

SetExpireSec

func (o *Domain) SetExpireSec(v int32)

SetExpireSec sets ExpireSec field to given value.

HasExpireSec

func (o *Domain) HasExpireSec() bool

HasExpireSec returns a boolean if a field has been set.

GetGroup

func (o *Domain) GetGroup() string

GetGroup returns the Group field if non-nil, zero value otherwise.

GetGroupOk

func (o *Domain) GetGroupOk() (*string, bool)

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

SetGroup

func (o *Domain) SetGroup(v string)

SetGroup sets Group field to given value.

HasGroup

func (o *Domain) HasGroup() bool

HasGroup returns a boolean if a field has been set.

GetId

func (o *Domain) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Domain) GetIdOk() (*int32, bool)

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

SetId

func (o *Domain) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *Domain) HasId() bool

HasId returns a boolean if a field has been set.

GetMasterIps

func (o *Domain) GetMasterIps() []string

GetMasterIps returns the MasterIps field if non-nil, zero value otherwise.

GetMasterIpsOk

func (o *Domain) GetMasterIpsOk() (*[]string, bool)

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

SetMasterIps

func (o *Domain) SetMasterIps(v []string)

SetMasterIps sets MasterIps field to given value.

HasMasterIps

func (o *Domain) HasMasterIps() bool

HasMasterIps returns a boolean if a field has been set.

GetRefreshSec

func (o *Domain) GetRefreshSec() int32

GetRefreshSec returns the RefreshSec field if non-nil, zero value otherwise.

GetRefreshSecOk

func (o *Domain) GetRefreshSecOk() (*int32, bool)

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

SetRefreshSec

func (o *Domain) SetRefreshSec(v int32)

SetRefreshSec sets RefreshSec field to given value.

HasRefreshSec

func (o *Domain) HasRefreshSec() bool

HasRefreshSec returns a boolean if a field has been set.

GetRetrySec

func (o *Domain) GetRetrySec() int32

GetRetrySec returns the RetrySec field if non-nil, zero value otherwise.

GetRetrySecOk

func (o *Domain) GetRetrySecOk() (*int32, bool)

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

SetRetrySec

func (o *Domain) SetRetrySec(v int32)

SetRetrySec sets RetrySec field to given value.

HasRetrySec

func (o *Domain) HasRetrySec() bool

HasRetrySec returns a boolean if a field has been set.

GetSoaEmail

func (o *Domain) GetSoaEmail() string

GetSoaEmail returns the SoaEmail field if non-nil, zero value otherwise.

GetSoaEmailOk

func (o *Domain) GetSoaEmailOk() (*string, bool)

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

SetSoaEmail

func (o *Domain) SetSoaEmail(v string)

SetSoaEmail sets SoaEmail field to given value.

HasSoaEmail

func (o *Domain) HasSoaEmail() bool

HasSoaEmail returns a boolean if a field has been set.

GetStatus

func (o *Domain) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *Domain) GetStatusOk() (*string, bool)

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

SetStatus

func (o *Domain) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *Domain) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetTags

func (o *Domain) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *Domain) GetTagsOk() (*[]string, bool)

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

SetTags

func (o *Domain) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *Domain) HasTags() bool

HasTags returns a boolean if a field has been set.

GetTtlSec

func (o *Domain) GetTtlSec() int32

GetTtlSec returns the TtlSec field if non-nil, zero value otherwise.

GetTtlSecOk

func (o *Domain) GetTtlSecOk() (*int32, bool)

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

SetTtlSec

func (o *Domain) SetTtlSec(v int32)

SetTtlSec sets TtlSec field to given value.

HasTtlSec

func (o *Domain) HasTtlSec() bool

HasTtlSec returns a boolean if a field has been set.

GetType

func (o *Domain) GetType() string

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

GetTypeOk

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

SetType

func (o *Domain) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *Domain) HasType() bool

HasType returns a boolean if a field has been set.

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