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. |
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
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
func (o *HostName) GetAlias() bool
GetAlias returns the Alias field if non-nil, zero value otherwise.
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.
func (o *HostName) SetAlias(v bool)
SetAlias sets Alias field to given value.
func (o *HostName) HasAlias() bool
HasAlias returns a boolean if a field has been set.
func (o *HostName) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *HostName) SetName(v string)
SetName sets Name field to given value.
func (o *HostName) GetPrimaryName() bool
GetPrimaryName returns the PrimaryName field if non-nil, zero value otherwise.
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.
func (o *HostName) SetPrimaryName(v bool)
SetPrimaryName sets PrimaryName field to given value.
func (o *HostName) HasPrimaryName() bool
HasPrimaryName returns a boolean if a field has been set.
func (o *HostName) GetZone() string
GetZone returns the Zone field if non-nil, zero value otherwise.
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.
func (o *HostName) SetZone(v string)
SetZone sets Zone field to given value.