Name | Type | Description | Notes |
---|---|---|---|
ThresholdType | string | Threshold type. Possible values are: 1. `message` 2. `group` Use `group` as threshold type if the search query is of aggregate type. For non-aggregate queries, set it to `message`. | |
Operator | string | Criterion to be applied when comparing actual result count with expected count. Possible values are: 1. `eq` 2. `gt` 3. `ge` 4. `lt` 5. `le` | |
Count | int32 | Expected result count. |
func NewNotificationThresholdSyncDefinition(thresholdType string, operator string, count int32, ) *NotificationThresholdSyncDefinition
NewNotificationThresholdSyncDefinition instantiates a new NotificationThresholdSyncDefinition 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 NewNotificationThresholdSyncDefinitionWithDefaults() *NotificationThresholdSyncDefinition
NewNotificationThresholdSyncDefinitionWithDefaults instantiates a new NotificationThresholdSyncDefinition 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 *NotificationThresholdSyncDefinition) GetThresholdType() string
GetThresholdType returns the ThresholdType field if non-nil, zero value otherwise.
func (o *NotificationThresholdSyncDefinition) GetThresholdTypeOk() (*string, bool)
GetThresholdTypeOk returns a tuple with the ThresholdType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NotificationThresholdSyncDefinition) SetThresholdType(v string)
SetThresholdType sets ThresholdType field to given value.
func (o *NotificationThresholdSyncDefinition) GetOperator() string
GetOperator returns the Operator field if non-nil, zero value otherwise.
func (o *NotificationThresholdSyncDefinition) GetOperatorOk() (*string, bool)
GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NotificationThresholdSyncDefinition) SetOperator(v string)
SetOperator sets Operator field to given value.
func (o *NotificationThresholdSyncDefinition) GetCount() int32
GetCount returns the Count field if non-nil, zero value otherwise.
func (o *NotificationThresholdSyncDefinition) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NotificationThresholdSyncDefinition) SetCount(v int32)
SetCount sets Count field to given value.