File tree 2 files changed +32
-0
lines changed
2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -5469,6 +5469,37 @@ func (m *Monitor) SetType(v string) {
5469
5469
m .Type = & v
5470
5470
}
5471
5471
5472
+ // GetEnableLogsSample returns the EnableLogsSample field if non-nil, zero value otherwise.
5473
+ func (o * Options ) GetEnableLogsSample () bool {
5474
+ if o == nil || o .EnableLogsSample == nil {
5475
+ return false
5476
+ }
5477
+ return * o .EnableLogsSample
5478
+ }
5479
+
5480
+ // GetEnableLogsSampleOk returns a tuple with the EnableLogsSample field if it's non-nil, zero value otherwise
5481
+ // and a boolean to check if the value has been set.
5482
+ func (o * Options ) GetEnableLogsSampleOk () (bool , bool ) {
5483
+ if o == nil || o .EnableLogsSample == nil {
5484
+ return false , false
5485
+ }
5486
+ return * o .EnableLogsSample , true
5487
+ }
5488
+
5489
+ // HasEnableLogsSample returns a boolean if a field has been set.
5490
+ func (o * Options ) HasEnableLogsSample () bool {
5491
+ if o != nil && o .EnableLogsSample != nil {
5492
+ return true
5493
+ }
5494
+
5495
+ return false
5496
+ }
5497
+
5498
+ // SetEnableLogsSample allocates a new o.EnableLogsSample and returns the pointer to it.
5499
+ func (o * Options ) SetEnableLogsSample (v bool ) {
5500
+ o .EnableLogsSample = & v
5501
+ }
5502
+
5472
5503
// GetEscalationMessage returns the EscalationMessage field if non-nil, zero value otherwise.
5473
5504
func (o * Options ) GetEscalationMessage () string {
5474
5505
if o == nil || o .EscalationMessage == nil {
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ type Options struct {
61
61
IncludeTags * bool `json:"include_tags,omitempty"`
62
62
RequireFullWindow * bool `json:"require_full_window,omitempty"`
63
63
Locked * bool `json:"locked,omitempty"`
64
+ EnableLogsSample * bool `json:"enable_logs_sample,omitempty"`
64
65
}
65
66
66
67
type TriggeringValue struct {
You can’t perform that action at this time.
0 commit comments