Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] | |
Name | Pointer to string | [optional] | |
Status | bool | ||
Address | string | ||
Port | int32 | ||
Weight | int32 | ||
Protocol | string | [default to "auto"] | |
HostHeader | Pointer to string | [optional] |
func NewLoadBalancerOriginStore(status bool, address string, port int32, weight int32, protocol string, ) *LoadBalancerOriginStore
NewLoadBalancerOriginStore instantiates a new LoadBalancerOriginStore 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 NewLoadBalancerOriginStoreWithDefaults() *LoadBalancerOriginStore
NewLoadBalancerOriginStoreWithDefaults instantiates a new LoadBalancerOriginStore 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 *LoadBalancerOriginStore) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *LoadBalancerOriginStore) GetIdOk() (*string, 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.
func (o *LoadBalancerOriginStore) SetId(v string)
SetId sets Id field to given value.
func (o *LoadBalancerOriginStore) HasId() bool
HasId returns a boolean if a field has been set.
func (o *LoadBalancerOriginStore) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *LoadBalancerOriginStore) 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 *LoadBalancerOriginStore) SetName(v string)
SetName sets Name field to given value.
func (o *LoadBalancerOriginStore) HasName() bool
HasName returns a boolean if a field has been set.
func (o *LoadBalancerOriginStore) GetStatus() bool
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *LoadBalancerOriginStore) GetStatusOk() (*bool, 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.
func (o *LoadBalancerOriginStore) SetStatus(v bool)
SetStatus sets Status field to given value.
func (o *LoadBalancerOriginStore) GetAddress() string
GetAddress returns the Address field if non-nil, zero value otherwise.
func (o *LoadBalancerOriginStore) 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.
func (o *LoadBalancerOriginStore) SetAddress(v string)
SetAddress sets Address field to given value.
func (o *LoadBalancerOriginStore) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *LoadBalancerOriginStore) 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.
func (o *LoadBalancerOriginStore) SetPort(v int32)
SetPort sets Port field to given value.
func (o *LoadBalancerOriginStore) GetWeight() int32
GetWeight returns the Weight field if non-nil, zero value otherwise.
func (o *LoadBalancerOriginStore) 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.
func (o *LoadBalancerOriginStore) SetWeight(v int32)
SetWeight sets Weight field to given value.
func (o *LoadBalancerOriginStore) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *LoadBalancerOriginStore) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoadBalancerOriginStore) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *LoadBalancerOriginStore) GetHostHeader() string
GetHostHeader returns the HostHeader field if non-nil, zero value otherwise.
func (o *LoadBalancerOriginStore) GetHostHeaderOk() (*string, bool)
GetHostHeaderOk returns a tuple with the HostHeader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoadBalancerOriginStore) SetHostHeader(v string)
SetHostHeader sets HostHeader field to given value.
func (o *LoadBalancerOriginStore) HasHostHeader() bool
HasHostHeader returns a boolean if a field has been set.