Skip to content

Latest commit

 

History

History
203 lines (108 loc) · 5.79 KB

File metadata and controls

203 lines (108 loc) · 5.79 KB

HealthCheckRequestConfig

Properties

Name Type Description Notes
Method string
Port int32
Path string path for test
AllowInsecure bool
ExpectedResponse ExpectedResponse
Headers map[string]string
FollowRedirects Pointer to bool [optional] [readonly]
Timeout int32 In milliseconds

Methods

NewHealthCheckRequestConfig

func NewHealthCheckRequestConfig(method string, port int32, path string, allowInsecure bool, expectedResponse ExpectedResponse, headers map[string]string, timeout int32, ) *HealthCheckRequestConfig

NewHealthCheckRequestConfig instantiates a new HealthCheckRequestConfig 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

NewHealthCheckRequestConfigWithDefaults

func NewHealthCheckRequestConfigWithDefaults() *HealthCheckRequestConfig

NewHealthCheckRequestConfigWithDefaults instantiates a new HealthCheckRequestConfig 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

GetMethod

func (o *HealthCheckRequestConfig) GetMethod() string

GetMethod returns the Method field if non-nil, zero value otherwise.

GetMethodOk

func (o *HealthCheckRequestConfig) GetMethodOk() (*string, 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.

SetMethod

func (o *HealthCheckRequestConfig) SetMethod(v string)

SetMethod sets Method field to given value.

GetPort

func (o *HealthCheckRequestConfig) GetPort() int32

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

GetPortOk

func (o *HealthCheckRequestConfig) 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 *HealthCheckRequestConfig) SetPort(v int32)

SetPort sets Port field to given value.

GetPath

func (o *HealthCheckRequestConfig) GetPath() string

GetPath returns the Path field if non-nil, zero value otherwise.

GetPathOk

func (o *HealthCheckRequestConfig) GetPathOk() (*string, bool)

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

SetPath

func (o *HealthCheckRequestConfig) SetPath(v string)

SetPath sets Path field to given value.

GetAllowInsecure

func (o *HealthCheckRequestConfig) GetAllowInsecure() bool

GetAllowInsecure returns the AllowInsecure field if non-nil, zero value otherwise.

GetAllowInsecureOk

func (o *HealthCheckRequestConfig) GetAllowInsecureOk() (*bool, bool)

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

SetAllowInsecure

func (o *HealthCheckRequestConfig) SetAllowInsecure(v bool)

SetAllowInsecure sets AllowInsecure field to given value.

GetExpectedResponse

func (o *HealthCheckRequestConfig) GetExpectedResponse() ExpectedResponse

GetExpectedResponse returns the ExpectedResponse field if non-nil, zero value otherwise.

GetExpectedResponseOk

func (o *HealthCheckRequestConfig) GetExpectedResponseOk() (*ExpectedResponse, bool)

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

SetExpectedResponse

func (o *HealthCheckRequestConfig) SetExpectedResponse(v ExpectedResponse)

SetExpectedResponse sets ExpectedResponse field to given value.

GetHeaders

func (o *HealthCheckRequestConfig) GetHeaders() map[string]string

GetHeaders returns the Headers field if non-nil, zero value otherwise.

GetHeadersOk

func (o *HealthCheckRequestConfig) GetHeadersOk() (*map[string]string, bool)

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

SetHeaders

func (o *HealthCheckRequestConfig) SetHeaders(v map[string]string)

SetHeaders sets Headers field to given value.

GetFollowRedirects

func (o *HealthCheckRequestConfig) GetFollowRedirects() bool

GetFollowRedirects returns the FollowRedirects field if non-nil, zero value otherwise.

GetFollowRedirectsOk

func (o *HealthCheckRequestConfig) GetFollowRedirectsOk() (*bool, bool)

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

SetFollowRedirects

func (o *HealthCheckRequestConfig) SetFollowRedirects(v bool)

SetFollowRedirects sets FollowRedirects field to given value.

HasFollowRedirects

func (o *HealthCheckRequestConfig) HasFollowRedirects() bool

HasFollowRedirects returns a boolean if a field has been set.

GetTimeout

func (o *HealthCheckRequestConfig) GetTimeout() int32

GetTimeout returns the Timeout field if non-nil, zero value otherwise.

GetTimeoutOk

func (o *HealthCheckRequestConfig) GetTimeoutOk() (*int32, bool)

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

SetTimeout

func (o *HealthCheckRequestConfig) SetTimeout(v int32)

SetTimeout sets Timeout field to given value.

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