Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 3.35 KB

NotificationThresholdSyncDefinition.md

File metadata and controls

93 lines (50 loc) · 3.35 KB

NotificationThresholdSyncDefinition

Properties

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.

Methods

NewNotificationThresholdSyncDefinition

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

NewNotificationThresholdSyncDefinitionWithDefaults

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

GetThresholdType

func (o *NotificationThresholdSyncDefinition) GetThresholdType() string

GetThresholdType returns the ThresholdType field if non-nil, zero value otherwise.

GetThresholdTypeOk

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.

SetThresholdType

func (o *NotificationThresholdSyncDefinition) SetThresholdType(v string)

SetThresholdType sets ThresholdType field to given value.

GetOperator

func (o *NotificationThresholdSyncDefinition) GetOperator() string

GetOperator returns the Operator field if non-nil, zero value otherwise.

GetOperatorOk

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.

SetOperator

func (o *NotificationThresholdSyncDefinition) SetOperator(v string)

SetOperator sets Operator field to given value.

GetCount

func (o *NotificationThresholdSyncDefinition) GetCount() int32

GetCount returns the Count field if non-nil, zero value otherwise.

GetCountOk

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.

SetCount

func (o *NotificationThresholdSyncDefinition) SetCount(v int32)

SetCount sets Count field to given value.

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