Name | Type | Description | Notes |
---|---|---|---|
Weight | Pointer to int32 | Weight (1-100 ) used to load balance this server against others. |
[optional] [default to 100] |
MaxConn | Pointer to int32 | Maximum number of connections. If the value is 0 , it inherits the value from pool's max_conn_default . |
[optional] [default to 0] |
Port | Pointer to int32 | Port number. Setting port 443 does not force TLS. Set use_tls in pool to force TLS. |
[optional] [default to 80] |
Address | Pointer to string | A hostname, IPv4, or IPv6 address for the server. Required. | [optional] |
Comment | Pointer to NullableString | A freeform descriptive note. | [optional] |
Disabled | Pointer to bool | Allows servers to be enabled and disabled in a pool. | [optional] [default to false] |
OverrideHost | Pointer to NullableString | The hostname to override the Host header. Defaults to null meaning no override of the Host header if not set. This setting can also be added to a Pool definition. However, the server setting will override the Pool setting. |
[optional] [default to "null"] |
CreatedAt | Pointer to NullableTime | Date and time in ISO 8601 format. | [optional] [readonly] |
DeletedAt | Pointer to NullableTime | Date and time in ISO 8601 format. | [optional] [readonly] |
UpdatedAt | Pointer to NullableTime | Date and time in ISO 8601 format. | [optional] [readonly] |
ServiceID | Pointer to string | [optional] [readonly] | |
ID | Pointer to string | [optional] [readonly] | |
PoolID | Pointer to string | [optional] [readonly] |
func NewServerResponse() *ServerResponse
NewServerResponse instantiates a new ServerResponse 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 NewServerResponseWithDefaults() *ServerResponse
NewServerResponseWithDefaults instantiates a new ServerResponse 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 *ServerResponse) GetWeight() int32
GetWeight returns the Weight field if non-nil, zero value otherwise.
func (o *ServerResponse) 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 *ServerResponse) SetWeight(v int32)
SetWeight sets Weight field to given value.
func (o *ServerResponse) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (o *ServerResponse) GetMaxConn() int32
GetMaxConn returns the MaxConn field if non-nil, zero value otherwise.
func (o *ServerResponse) GetMaxConnOk() (*int32, bool)
GetMaxConnOk returns a tuple with the MaxConn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerResponse) SetMaxConn(v int32)
SetMaxConn sets MaxConn field to given value.
func (o *ServerResponse) HasMaxConn() bool
HasMaxConn returns a boolean if a field has been set.
func (o *ServerResponse) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *ServerResponse) 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 *ServerResponse) SetPort(v int32)
SetPort sets Port field to given value.
func (o *ServerResponse) HasPort() bool
HasPort returns a boolean if a field has been set.
func (o *ServerResponse) GetAddress() string
GetAddress returns the Address field if non-nil, zero value otherwise.
func (o *ServerResponse) 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 *ServerResponse) SetAddress(v string)
SetAddress sets Address field to given value.
func (o *ServerResponse) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (o *ServerResponse) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *ServerResponse) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerResponse) SetComment(v string)
SetComment sets Comment field to given value.
func (o *ServerResponse) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *ServerResponse) SetCommentNil(b bool)
SetCommentNil sets the value for Comment to be an explicit nil
func (o *ServerResponse) UnsetComment()
UnsetComment ensures that no value is present for Comment, not even an explicit nil
func (o *ServerResponse) GetDisabled() bool
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
func (o *ServerResponse) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerResponse) SetDisabled(v bool)
SetDisabled sets Disabled field to given value.
func (o *ServerResponse) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (o *ServerResponse) GetOverrideHost() string
GetOverrideHost returns the OverrideHost field if non-nil, zero value otherwise.
func (o *ServerResponse) GetOverrideHostOk() (*string, bool)
GetOverrideHostOk returns a tuple with the OverrideHost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerResponse) SetOverrideHost(v string)
SetOverrideHost sets OverrideHost field to given value.
func (o *ServerResponse) HasOverrideHost() bool
HasOverrideHost returns a boolean if a field has been set.
func (o *ServerResponse) SetOverrideHostNil(b bool)
SetOverrideHostNil sets the value for OverrideHost to be an explicit nil
func (o *ServerResponse) UnsetOverrideHost()
UnsetOverrideHost ensures that no value is present for OverrideHost, not even an explicit nil
func (o *ServerResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *ServerResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *ServerResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *ServerResponse) SetCreatedAtNil(b bool)
SetCreatedAtNil sets the value for CreatedAt to be an explicit nil
func (o *ServerResponse) UnsetCreatedAt()
UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil
func (o *ServerResponse) GetDeletedAt() time.Time
GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.
func (o *ServerResponse) GetDeletedAtOk() (*time.Time, bool)
GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerResponse) SetDeletedAt(v time.Time)
SetDeletedAt sets DeletedAt field to given value.
func (o *ServerResponse) HasDeletedAt() bool
HasDeletedAt returns a boolean if a field has been set.
func (o *ServerResponse) SetDeletedAtNil(b bool)
SetDeletedAtNil sets the value for DeletedAt to be an explicit nil
func (o *ServerResponse) UnsetDeletedAt()
UnsetDeletedAt ensures that no value is present for DeletedAt, not even an explicit nil
func (o *ServerResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *ServerResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *ServerResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *ServerResponse) SetUpdatedAtNil(b bool)
SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil
func (o *ServerResponse) UnsetUpdatedAt()
UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil
func (o *ServerResponse) GetServiceID() string
GetServiceID returns the ServiceID field if non-nil, zero value otherwise.
func (o *ServerResponse) GetServiceIDOk() (*string, bool)
GetServiceIDOk returns a tuple with the ServiceID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerResponse) SetServiceID(v string)
SetServiceID sets ServiceID field to given value.
func (o *ServerResponse) HasServiceID() bool
HasServiceID returns a boolean if a field has been set.
func (o *ServerResponse) GetID() string
GetID returns the ID field if non-nil, zero value otherwise.
func (o *ServerResponse) 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 *ServerResponse) SetID(v string)
SetID sets ID field to given value.
func (o *ServerResponse) HasID() bool
HasID returns a boolean if a field has been set.
func (o *ServerResponse) GetPoolID() string
GetPoolID returns the PoolID field if non-nil, zero value otherwise.
func (o *ServerResponse) GetPoolIDOk() (*string, bool)
GetPoolIDOk returns a tuple with the PoolID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServerResponse) SetPoolID(v string)
SetPoolID sets PoolID field to given value.
func (o *ServerResponse) HasPoolID() bool
HasPoolID returns a boolean if a field has been set.