Name | Type | Description | Notes |
---|---|---|---|
Protocol | Protocol | ||
Method | NullableHttpMethod | ||
Uri | string | URI to check in the target instances | |
Host | NullableString | Host for the health check if any | |
Port | int32 | Port number |
func NewHealthCheck(protocol Protocol, method NullableHttpMethod, uri string, host NullableString, port int32, ) *HealthCheck
NewHealthCheck instantiates a new HealthCheck 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 NewHealthCheckWithDefaults() *HealthCheck
NewHealthCheckWithDefaults instantiates a new HealthCheck 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 *HealthCheck) GetProtocol() Protocol
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *HealthCheck) GetProtocolOk() (*Protocol, 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 *HealthCheck) SetProtocol(v Protocol)
SetProtocol sets Protocol field to given value.
func (o *HealthCheck) GetMethod() HttpMethod
GetMethod returns the Method field if non-nil, zero value otherwise.
func (o *HealthCheck) GetMethodOk() (*HttpMethod, bool)
GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HealthCheck) SetMethod(v HttpMethod)
SetMethod sets Method field to given value.
func (o *HealthCheck) SetMethodNil(b bool)
SetMethodNil sets the value for Method to be an explicit nil
func (o *HealthCheck) UnsetMethod()
UnsetMethod ensures that no value is present for Method, not even an explicit nil
func (o *HealthCheck) GetUri() string
GetUri returns the Uri field if non-nil, zero value otherwise.
func (o *HealthCheck) GetUriOk() (*string, bool)
GetUriOk returns a tuple with the Uri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HealthCheck) SetUri(v string)
SetUri sets Uri field to given value.
func (o *HealthCheck) GetHost() string
GetHost returns the Host field if non-nil, zero value otherwise.
func (o *HealthCheck) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HealthCheck) SetHost(v string)
SetHost sets Host field to given value.
func (o *HealthCheck) SetHostNil(b bool)
SetHostNil sets the value for Host to be an explicit nil
func (o *HealthCheck) UnsetHost()
UnsetHost ensures that no value is present for Host, not even an explicit nil
func (o *HealthCheck) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *HealthCheck) 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 *HealthCheck) SetPort(v int32)
SetPort sets Port field to given value.