Skip to content

Latest commit

 

History

History
238 lines (129 loc) · 8.14 KB

PostNodeBalancerRequestConfigsInnerNodesInner.md

File metadata and controls

238 lines (129 loc) · 8.14 KB

PostNodeBalancerRequestConfigsInnerNodesInner

Properties

Name Type Description Notes
Address Pointer to string The private IP Address where this backend can be reached. This must be a private IP address. [optional]
ConfigId Pointer to int32 The NodeBalancer Config ID that this Node belongs to. [optional] [readonly]
Id Pointer to int32 This node's unique ID. [optional] [readonly]
Label Pointer to string The label for this node. This is for display purposes only. [optional]
Mode Pointer to string The mode this NodeBalancer should use when sending traffic to this backend. - If set to `accept` this backend is accepting traffic. - If set to `reject` this backend will not receive traffic. - If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it. - If set to `backup`, this backend will only receive traffic if all `accept` nodes are down. [optional]
NodebalancerId Pointer to int32 The NodeBalancer ID that this Node belongs to. [optional] [readonly]
Status Pointer to string The current status of this node, based on the configured checks of its NodeBalancer Config. [optional] [readonly]
Weight Pointer to int32 Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. [optional]

Methods

NewPostNodeBalancerRequestConfigsInnerNodesInner

func NewPostNodeBalancerRequestConfigsInnerNodesInner() *PostNodeBalancerRequestConfigsInnerNodesInner

NewPostNodeBalancerRequestConfigsInnerNodesInner instantiates a new PostNodeBalancerRequestConfigsInnerNodesInner 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

NewPostNodeBalancerRequestConfigsInnerNodesInnerWithDefaults

func NewPostNodeBalancerRequestConfigsInnerNodesInnerWithDefaults() *PostNodeBalancerRequestConfigsInnerNodesInner

NewPostNodeBalancerRequestConfigsInnerNodesInnerWithDefaults instantiates a new PostNodeBalancerRequestConfigsInnerNodesInner 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

GetAddress

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetAddress() string

GetAddress returns the Address field if non-nil, zero value otherwise.

GetAddressOk

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetAddressOk() (*string, bool)

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

SetAddress

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) SetAddress(v string)

SetAddress sets Address field to given value.

HasAddress

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) HasAddress() bool

HasAddress returns a boolean if a field has been set.

GetConfigId

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetConfigId() int32

GetConfigId returns the ConfigId field if non-nil, zero value otherwise.

GetConfigIdOk

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetConfigIdOk() (*int32, bool)

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

SetConfigId

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) SetConfigId(v int32)

SetConfigId sets ConfigId field to given value.

HasConfigId

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) HasConfigId() bool

HasConfigId returns a boolean if a field has been set.

GetId

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetId() int32

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

GetIdOk

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) 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 *PostNodeBalancerRequestConfigsInnerNodesInner) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) HasId() bool

HasId returns a boolean if a field has been set.

GetLabel

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetLabelOk() (*string, bool)

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

SetLabel

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) SetLabel(v string)

SetLabel sets Label field to given value.

HasLabel

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) HasLabel() bool

HasLabel returns a boolean if a field has been set.

GetMode

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetMode() string

GetMode returns the Mode field if non-nil, zero value otherwise.

GetModeOk

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetModeOk() (*string, bool)

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

SetMode

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) SetMode(v string)

SetMode sets Mode field to given value.

HasMode

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) HasMode() bool

HasMode returns a boolean if a field has been set.

GetNodebalancerId

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetNodebalancerId() int32

GetNodebalancerId returns the NodebalancerId field if non-nil, zero value otherwise.

GetNodebalancerIdOk

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetNodebalancerIdOk() (*int32, bool)

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

SetNodebalancerId

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) SetNodebalancerId(v int32)

SetNodebalancerId sets NodebalancerId field to given value.

HasNodebalancerId

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) HasNodebalancerId() bool

HasNodebalancerId returns a boolean if a field has been set.

GetStatus

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetStatus() string

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

GetStatusOk

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) 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 *PostNodeBalancerRequestConfigsInnerNodesInner) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetWeight

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) GetWeight() int32

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

GetWeightOk

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

SetWeight sets Weight field to given value.

HasWeight

func (o *PostNodeBalancerRequestConfigsInnerNodesInner) HasWeight() bool

HasWeight returns a boolean if a field has been set.

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