Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | The monitor's name | [optional] |
Locations | Pointer to UpdateMonitorRequestLocationsValue | [optional] | |
Interval | Pointer to string | How often a monitor should be checked. | [optional] |
Timeout | Pointer to string | The length of time a monitor check should wait before timing out. | [optional] |
IpVersion | Pointer to UpdateMonitorRequestIpVersionValue | [optional] | |
Http | Pointer to UpdateMonitorRequestPatchHttpConfiguration | [optional] | |
Tcp | Pointer to UpdateMonitorRequestPatchTcpConfiguration | [optional] | |
Enabled | Pointer to bool | Whether a monitor is enabled or not. | [optional] |
func NewV2UpdateMonitorRequest() *V2UpdateMonitorRequest
NewV2UpdateMonitorRequest instantiates a new V2UpdateMonitorRequest 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 NewV2UpdateMonitorRequestWithDefaults() *V2UpdateMonitorRequest
NewV2UpdateMonitorRequestWithDefaults instantiates a new V2UpdateMonitorRequest 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 *V2UpdateMonitorRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *V2UpdateMonitorRequest) 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 *V2UpdateMonitorRequest) SetName(v string)
SetName sets Name field to given value.
func (o *V2UpdateMonitorRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (o *V2UpdateMonitorRequest) GetLocations() UpdateMonitorRequestLocationsValue
GetLocations returns the Locations field if non-nil, zero value otherwise.
func (o *V2UpdateMonitorRequest) GetLocationsOk() (*UpdateMonitorRequestLocationsValue, bool)
GetLocationsOk returns a tuple with the Locations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2UpdateMonitorRequest) SetLocations(v UpdateMonitorRequestLocationsValue)
SetLocations sets Locations field to given value.
func (o *V2UpdateMonitorRequest) HasLocations() bool
HasLocations returns a boolean if a field has been set.
func (o *V2UpdateMonitorRequest) GetInterval() string
GetInterval returns the Interval field if non-nil, zero value otherwise.
func (o *V2UpdateMonitorRequest) GetIntervalOk() (*string, 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 *V2UpdateMonitorRequest) SetInterval(v string)
SetInterval sets Interval field to given value.
func (o *V2UpdateMonitorRequest) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (o *V2UpdateMonitorRequest) GetTimeout() string
GetTimeout returns the Timeout field if non-nil, zero value otherwise.
func (o *V2UpdateMonitorRequest) GetTimeoutOk() (*string, 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 *V2UpdateMonitorRequest) SetTimeout(v string)
SetTimeout sets Timeout field to given value.
func (o *V2UpdateMonitorRequest) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (o *V2UpdateMonitorRequest) GetIpVersion() UpdateMonitorRequestIpVersionValue
GetIpVersion returns the IpVersion field if non-nil, zero value otherwise.
func (o *V2UpdateMonitorRequest) GetIpVersionOk() (*UpdateMonitorRequestIpVersionValue, bool)
GetIpVersionOk returns a tuple with the IpVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2UpdateMonitorRequest) SetIpVersion(v UpdateMonitorRequestIpVersionValue)
SetIpVersion sets IpVersion field to given value.
func (o *V2UpdateMonitorRequest) HasIpVersion() bool
HasIpVersion returns a boolean if a field has been set.
func (o *V2UpdateMonitorRequest) GetHttp() UpdateMonitorRequestPatchHttpConfiguration
GetHttp returns the Http field if non-nil, zero value otherwise.
func (o *V2UpdateMonitorRequest) GetHttpOk() (*UpdateMonitorRequestPatchHttpConfiguration, bool)
GetHttpOk returns a tuple with the Http field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2UpdateMonitorRequest) SetHttp(v UpdateMonitorRequestPatchHttpConfiguration)
SetHttp sets Http field to given value.
func (o *V2UpdateMonitorRequest) HasHttp() bool
HasHttp returns a boolean if a field has been set.
func (o *V2UpdateMonitorRequest) GetTcp() UpdateMonitorRequestPatchTcpConfiguration
GetTcp returns the Tcp field if non-nil, zero value otherwise.
func (o *V2UpdateMonitorRequest) GetTcpOk() (*UpdateMonitorRequestPatchTcpConfiguration, bool)
GetTcpOk returns a tuple with the Tcp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2UpdateMonitorRequest) SetTcp(v UpdateMonitorRequestPatchTcpConfiguration)
SetTcp sets Tcp field to given value.
func (o *V2UpdateMonitorRequest) HasTcp() bool
HasTcp returns a boolean if a field has been set.
func (o *V2UpdateMonitorRequest) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *V2UpdateMonitorRequest) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V2UpdateMonitorRequest) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *V2UpdateMonitorRequest) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.