Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 3.31 KB

HostName.md

File metadata and controls

124 lines (67 loc) · 3.31 KB

HostName

Properties

Name Type Description Notes
Alias Pointer to bool When true, the name is treated as an alias. [optional]
Name string A name for the host.
PrimaryName Pointer to bool When true, the name field is treated as primary name. There must be one and only one primary name in the list of host names. The primary name will be treated as the canonical name for all the aliases. PTR record will be generated only for the primary name. [optional]
Zone string The resource identifier.

Methods

NewHostName

func NewHostName(name string, zone string, ) *HostName

NewHostName instantiates a new HostName 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

NewHostNameWithDefaults

func NewHostNameWithDefaults() *HostName

NewHostNameWithDefaults instantiates a new HostName 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

GetAlias

func (o *HostName) GetAlias() bool

GetAlias returns the Alias field if non-nil, zero value otherwise.

GetAliasOk

func (o *HostName) GetAliasOk() (*bool, bool)

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

SetAlias

func (o *HostName) SetAlias(v bool)

SetAlias sets Alias field to given value.

HasAlias

func (o *HostName) HasAlias() bool

HasAlias returns a boolean if a field has been set.

GetName

func (o *HostName) GetName() string

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

GetNameOk

func (o *HostName) 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 *HostName) SetName(v string)

SetName sets Name field to given value.

GetPrimaryName

func (o *HostName) GetPrimaryName() bool

GetPrimaryName returns the PrimaryName field if non-nil, zero value otherwise.

GetPrimaryNameOk

func (o *HostName) GetPrimaryNameOk() (*bool, bool)

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

SetPrimaryName

func (o *HostName) SetPrimaryName(v bool)

SetPrimaryName sets PrimaryName field to given value.

HasPrimaryName

func (o *HostName) HasPrimaryName() bool

HasPrimaryName returns a boolean if a field has been set.

GetZone

func (o *HostName) GetZone() string

GetZone returns the Zone field if non-nil, zero value otherwise.

GetZoneOk

func (o *HostName) GetZoneOk() (*string, bool)

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

SetZone

func (o *HostName) SetZone(v string)

SetZone sets Zone field to given value.

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