Name | Type | Description | Notes |
---|---|---|---|
AddressMode | Pointer to string | [optional] | |
Advertise | Pointer to string | [optional] | |
Args | Pointer to []string | [optional] | |
Body | Pointer to string | [optional] | |
CheckRestart | Pointer to CheckRestart | [optional] | |
Command | Pointer to string | [optional] | |
Expose | Pointer to bool | [optional] | |
FailuresBeforeCritical | Pointer to int32 | [optional] | |
GRPCService | Pointer to string | [optional] | |
GRPCUseTLS | Pointer to bool | [optional] | |
Header | Pointer to map[string][]string | [optional] | |
InitialStatus | Pointer to string | [optional] | |
Interval | Pointer to int64 | [optional] | |
Method | Pointer to string | [optional] | |
Name | Pointer to string | [optional] | |
OnUpdate | Pointer to string | [optional] | |
Path | Pointer to string | [optional] | |
PortLabel | Pointer to string | [optional] | |
Protocol | Pointer to string | [optional] | |
SuccessBeforePassing | Pointer to int32 | [optional] | |
TLSSkipVerify | Pointer to bool | [optional] | |
TaskName | Pointer to string | [optional] | |
Timeout | Pointer to int64 | [optional] | |
Type | Pointer to string | [optional] |
func NewServiceCheck() *ServiceCheck
NewServiceCheck instantiates a new ServiceCheck 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 NewServiceCheckWithDefaults() *ServiceCheck
NewServiceCheckWithDefaults instantiates a new ServiceCheck 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 *ServiceCheck) GetAddressMode() string
GetAddressMode returns the AddressMode field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetAddressModeOk() (*string, bool)
GetAddressModeOk returns a tuple with the AddressMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetAddressMode(v string)
SetAddressMode sets AddressMode field to given value.
func (o *ServiceCheck) HasAddressMode() bool
HasAddressMode returns a boolean if a field has been set.
func (o *ServiceCheck) GetAdvertise() string
GetAdvertise returns the Advertise field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetAdvertiseOk() (*string, bool)
GetAdvertiseOk returns a tuple with the Advertise field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetAdvertise(v string)
SetAdvertise sets Advertise field to given value.
func (o *ServiceCheck) HasAdvertise() bool
HasAdvertise returns a boolean if a field has been set.
func (o *ServiceCheck) GetArgs() []string
GetArgs returns the Args field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetArgsOk() (*[]string, bool)
GetArgsOk returns a tuple with the Args field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetArgs(v []string)
SetArgs sets Args field to given value.
func (o *ServiceCheck) HasArgs() bool
HasArgs returns a boolean if a field has been set.
func (o *ServiceCheck) GetBody() string
GetBody returns the Body field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetBody(v string)
SetBody sets Body field to given value.
func (o *ServiceCheck) HasBody() bool
HasBody returns a boolean if a field has been set.
func (o *ServiceCheck) GetCheckRestart() CheckRestart
GetCheckRestart returns the CheckRestart field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetCheckRestartOk() (*CheckRestart, bool)
GetCheckRestartOk returns a tuple with the CheckRestart field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetCheckRestart(v CheckRestart)
SetCheckRestart sets CheckRestart field to given value.
func (o *ServiceCheck) HasCheckRestart() bool
HasCheckRestart returns a boolean if a field has been set.
func (o *ServiceCheck) GetCommand() string
GetCommand returns the Command field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetCommandOk() (*string, bool)
GetCommandOk returns a tuple with the Command field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetCommand(v string)
SetCommand sets Command field to given value.
func (o *ServiceCheck) HasCommand() bool
HasCommand returns a boolean if a field has been set.
func (o *ServiceCheck) GetExpose() bool
GetExpose returns the Expose field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetExposeOk() (*bool, bool)
GetExposeOk returns a tuple with the Expose field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetExpose(v bool)
SetExpose sets Expose field to given value.
func (o *ServiceCheck) HasExpose() bool
HasExpose returns a boolean if a field has been set.
func (o *ServiceCheck) GetFailuresBeforeCritical() int32
GetFailuresBeforeCritical returns the FailuresBeforeCritical field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetFailuresBeforeCriticalOk() (*int32, bool)
GetFailuresBeforeCriticalOk returns a tuple with the FailuresBeforeCritical field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetFailuresBeforeCritical(v int32)
SetFailuresBeforeCritical sets FailuresBeforeCritical field to given value.
func (o *ServiceCheck) HasFailuresBeforeCritical() bool
HasFailuresBeforeCritical returns a boolean if a field has been set.
func (o *ServiceCheck) GetGRPCService() string
GetGRPCService returns the GRPCService field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetGRPCServiceOk() (*string, bool)
GetGRPCServiceOk returns a tuple with the GRPCService field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetGRPCService(v string)
SetGRPCService sets GRPCService field to given value.
func (o *ServiceCheck) HasGRPCService() bool
HasGRPCService returns a boolean if a field has been set.
func (o *ServiceCheck) GetGRPCUseTLS() bool
GetGRPCUseTLS returns the GRPCUseTLS field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetGRPCUseTLSOk() (*bool, bool)
GetGRPCUseTLSOk returns a tuple with the GRPCUseTLS field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetGRPCUseTLS(v bool)
SetGRPCUseTLS sets GRPCUseTLS field to given value.
func (o *ServiceCheck) HasGRPCUseTLS() bool
HasGRPCUseTLS returns a boolean if a field has been set.
func (o *ServiceCheck) GetHeader() map[string][]string
GetHeader returns the Header field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetHeaderOk() (*map[string][]string, bool)
GetHeaderOk returns a tuple with the Header field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetHeader(v map[string][]string)
SetHeader sets Header field to given value.
func (o *ServiceCheck) HasHeader() bool
HasHeader returns a boolean if a field has been set.
func (o *ServiceCheck) GetInitialStatus() string
GetInitialStatus returns the InitialStatus field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetInitialStatusOk() (*string, bool)
GetInitialStatusOk returns a tuple with the InitialStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetInitialStatus(v string)
SetInitialStatus sets InitialStatus field to given value.
func (o *ServiceCheck) HasInitialStatus() bool
HasInitialStatus returns a boolean if a field has been set.
func (o *ServiceCheck) GetInterval() int64
GetInterval returns the Interval field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetIntervalOk() (*int64, bool)
GetIntervalOk returns a tuple with the Interval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetInterval(v int64)
SetInterval sets Interval field to given value.
func (o *ServiceCheck) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (o *ServiceCheck) GetMethod() string
GetMethod returns the Method field if non-nil, zero value otherwise.
func (o *ServiceCheck) 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.
func (o *ServiceCheck) SetMethod(v string)
SetMethod sets Method field to given value.
func (o *ServiceCheck) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (o *ServiceCheck) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ServiceCheck) 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 *ServiceCheck) SetName(v string)
SetName sets Name field to given value.
func (o *ServiceCheck) HasName() bool
HasName returns a boolean if a field has been set.
func (o *ServiceCheck) GetOnUpdate() string
GetOnUpdate returns the OnUpdate field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetOnUpdateOk() (*string, bool)
GetOnUpdateOk returns a tuple with the OnUpdate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetOnUpdate(v string)
SetOnUpdate sets OnUpdate field to given value.
func (o *ServiceCheck) HasOnUpdate() bool
HasOnUpdate returns a boolean if a field has been set.
func (o *ServiceCheck) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *ServiceCheck) 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.
func (o *ServiceCheck) SetPath(v string)
SetPath sets Path field to given value.
func (o *ServiceCheck) HasPath() bool
HasPath returns a boolean if a field has been set.
func (o *ServiceCheck) GetPortLabel() string
GetPortLabel returns the PortLabel field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetPortLabelOk() (*string, bool)
GetPortLabelOk returns a tuple with the PortLabel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetPortLabel(v string)
SetPortLabel sets PortLabel field to given value.
func (o *ServiceCheck) HasPortLabel() bool
HasPortLabel returns a boolean if a field has been set.
func (o *ServiceCheck) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *ServiceCheck) 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 *ServiceCheck) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *ServiceCheck) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (o *ServiceCheck) GetSuccessBeforePassing() int32
GetSuccessBeforePassing returns the SuccessBeforePassing field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetSuccessBeforePassingOk() (*int32, bool)
GetSuccessBeforePassingOk returns a tuple with the SuccessBeforePassing field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetSuccessBeforePassing(v int32)
SetSuccessBeforePassing sets SuccessBeforePassing field to given value.
func (o *ServiceCheck) HasSuccessBeforePassing() bool
HasSuccessBeforePassing returns a boolean if a field has been set.
func (o *ServiceCheck) GetTLSSkipVerify() bool
GetTLSSkipVerify returns the TLSSkipVerify field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetTLSSkipVerifyOk() (*bool, bool)
GetTLSSkipVerifyOk returns a tuple with the TLSSkipVerify field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetTLSSkipVerify(v bool)
SetTLSSkipVerify sets TLSSkipVerify field to given value.
func (o *ServiceCheck) HasTLSSkipVerify() bool
HasTLSSkipVerify returns a boolean if a field has been set.
func (o *ServiceCheck) GetTaskName() string
GetTaskName returns the TaskName field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetTaskNameOk() (*string, bool)
GetTaskNameOk returns a tuple with the TaskName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetTaskName(v string)
SetTaskName sets TaskName field to given value.
func (o *ServiceCheck) HasTaskName() bool
HasTaskName returns a boolean if a field has been set.
func (o *ServiceCheck) GetTimeout() int64
GetTimeout returns the Timeout field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetTimeoutOk() (*int64, 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.
func (o *ServiceCheck) SetTimeout(v int64)
SetTimeout sets Timeout field to given value.
func (o *ServiceCheck) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (o *ServiceCheck) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ServiceCheck) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceCheck) SetType(v string)
SetType sets Type field to given value.
func (o *ServiceCheck) HasType() bool
HasType returns a boolean if a field has been set.