Skip to content

Latest commit

 

History

History
190 lines (105 loc) · 4.84 KB

File metadata and controls

190 lines (105 loc) · 4.84 KB

ARecordValue

Properties

Name Type Description Notes
Ip Pointer to string [optional]
Port Pointer to NullableInt32 [optional]
Weight Pointer to NullableInt32 [optional]
OriginalWeight Pointer to int32 This key shows itself here if the weight have been changed by Health Check. [optional] [readonly]
Country Pointer to NullableString ISO 3166 alpha-2 country code [optional]

Methods

NewARecordValue

func NewARecordValue() *ARecordValue

NewARecordValue instantiates a new ARecordValue 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

NewARecordValueWithDefaults

func NewARecordValueWithDefaults() *ARecordValue

NewARecordValueWithDefaults instantiates a new ARecordValue 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

GetIp

func (o *ARecordValue) GetIp() string

GetIp returns the Ip field if non-nil, zero value otherwise.

GetIpOk

func (o *ARecordValue) GetIpOk() (*string, bool)

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

SetIp

func (o *ARecordValue) SetIp(v string)

SetIp sets Ip field to given value.

HasIp

func (o *ARecordValue) HasIp() bool

HasIp returns a boolean if a field has been set.

GetPort

func (o *ARecordValue) GetPort() int32

GetPort returns the Port field if non-nil, zero value otherwise.

GetPortOk

func (o *ARecordValue) GetPortOk() (*int32, bool)

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

SetPort

func (o *ARecordValue) SetPort(v int32)

SetPort sets Port field to given value.

HasPort

func (o *ARecordValue) HasPort() bool

HasPort returns a boolean if a field has been set.

SetPortNil

func (o *ARecordValue) SetPortNil(b bool)

SetPortNil sets the value for Port to be an explicit nil

UnsetPort

func (o *ARecordValue) UnsetPort()

UnsetPort ensures that no value is present for Port, not even an explicit nil

GetWeight

func (o *ARecordValue) GetWeight() int32

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

GetWeightOk

func (o *ARecordValue) 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 *ARecordValue) SetWeight(v int32)

SetWeight sets Weight field to given value.

HasWeight

func (o *ARecordValue) HasWeight() bool

HasWeight returns a boolean if a field has been set.

SetWeightNil

func (o *ARecordValue) SetWeightNil(b bool)

SetWeightNil sets the value for Weight to be an explicit nil

UnsetWeight

func (o *ARecordValue) UnsetWeight()

UnsetWeight ensures that no value is present for Weight, not even an explicit nil

GetOriginalWeight

func (o *ARecordValue) GetOriginalWeight() int32

GetOriginalWeight returns the OriginalWeight field if non-nil, zero value otherwise.

GetOriginalWeightOk

func (o *ARecordValue) GetOriginalWeightOk() (*int32, bool)

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

SetOriginalWeight

func (o *ARecordValue) SetOriginalWeight(v int32)

SetOriginalWeight sets OriginalWeight field to given value.

HasOriginalWeight

func (o *ARecordValue) HasOriginalWeight() bool

HasOriginalWeight returns a boolean if a field has been set.

GetCountry

func (o *ARecordValue) GetCountry() string

GetCountry returns the Country field if non-nil, zero value otherwise.

GetCountryOk

func (o *ARecordValue) GetCountryOk() (*string, bool)

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

SetCountry

func (o *ARecordValue) SetCountry(v string)

SetCountry sets Country field to given value.

HasCountry

func (o *ARecordValue) HasCountry() bool

HasCountry returns a boolean if a field has been set.

SetCountryNil

func (o *ARecordValue) SetCountryNil(b bool)

SetCountryNil sets the value for Country to be an explicit nil

UnsetCountry

func (o *ARecordValue) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

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