@@ -3517,223 +3517,6 @@ func (c *CreatedBy) SetVerified(v bool) {
3517
3517
c.Verified = &v
3518
3518
}
3519
3519
3520
- // GetSLO returns the SLO field if non-nil, zero value otherwise.
3521
- func (c *createSLOThreshold) GetSLO() float64 {
3522
- if c == nil || c.SLO == nil {
3523
- return 0
3524
- }
3525
- return *c.SLO
3526
- }
3527
-
3528
- // GetSLOOk returns a tuple with the SLO field if it's non-nil, zero value otherwise
3529
- // and a boolean to check if the value has been set.
3530
- func (c *createSLOThreshold) GetSLOOk() (float64, bool) {
3531
- if c == nil || c.SLO == nil {
3532
- return 0, false
3533
- }
3534
- return *c.SLO, true
3535
- }
3536
-
3537
- // HasSLO returns a boolean if a field has been set.
3538
- func (c *createSLOThreshold) HasSLO() bool {
3539
- if c != nil && c.SLO != nil {
3540
- return true
3541
- }
3542
-
3543
- return false
3544
- }
3545
-
3546
- // SetSLO allocates a new c.SLO and returns the pointer to it.
3547
- func (c *createSLOThreshold) SetSLO(v float64) {
3548
- c.SLO = &v
3549
- }
3550
-
3551
- // GetWarning returns the Warning field if non-nil, zero value otherwise.
3552
- func (c *createSLOThreshold) GetWarning() float64 {
3553
- if c == nil || c.Warning == nil {
3554
- return 0
3555
- }
3556
- return *c.Warning
3557
- }
3558
-
3559
- // GetWarningOk returns a tuple with the Warning field if it's non-nil, zero value otherwise
3560
- // and a boolean to check if the value has been set.
3561
- func (c *createSLOThreshold) GetWarningOk() (float64, bool) {
3562
- if c == nil || c.Warning == nil {
3563
- return 0, false
3564
- }
3565
- return *c.Warning, true
3566
- }
3567
-
3568
- // HasWarning returns a boolean if a field has been set.
3569
- func (c *createSLOThreshold) HasWarning() bool {
3570
- if c != nil && c.Warning != nil {
3571
- return true
3572
- }
3573
-
3574
- return false
3575
- }
3576
-
3577
- // SetWarning allocates a new c.Warning and returns the pointer to it.
3578
- func (c *createSLOThreshold) SetWarning(v float64) {
3579
- c.Warning = &v
3580
- }
3581
-
3582
- // GetDescription returns the Description field if non-nil, zero value otherwise.
3583
- func (c *createUpdateServiceLevelObjective) GetDescription() string {
3584
- if c == nil || c.Description == nil {
3585
- return ""
3586
- }
3587
- return *c.Description
3588
- }
3589
-
3590
- // GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
3591
- // and a boolean to check if the value has been set.
3592
- func (c *createUpdateServiceLevelObjective) GetDescriptionOk() (string, bool) {
3593
- if c == nil || c.Description == nil {
3594
- return "", false
3595
- }
3596
- return *c.Description, true
3597
- }
3598
-
3599
- // HasDescription returns a boolean if a field has been set.
3600
- func (c *createUpdateServiceLevelObjective) HasDescription() bool {
3601
- if c != nil && c.Description != nil {
3602
- return true
3603
- }
3604
-
3605
- return false
3606
- }
3607
-
3608
- // SetDescription allocates a new c.Description and returns the pointer to it.
3609
- func (c *createUpdateServiceLevelObjective) SetDescription(v string) {
3610
- c.Description = &v
3611
- }
3612
-
3613
- // GetMonitorSearch returns the MonitorSearch field if non-nil, zero value otherwise.
3614
- func (c *createUpdateServiceLevelObjective) GetMonitorSearch() string {
3615
- if c == nil || c.MonitorSearch == nil {
3616
- return ""
3617
- }
3618
- return *c.MonitorSearch
3619
- }
3620
-
3621
- // GetMonitorSearchOk returns a tuple with the MonitorSearch field if it's non-nil, zero value otherwise
3622
- // and a boolean to check if the value has been set.
3623
- func (c *createUpdateServiceLevelObjective) GetMonitorSearchOk() (string, bool) {
3624
- if c == nil || c.MonitorSearch == nil {
3625
- return "", false
3626
- }
3627
- return *c.MonitorSearch, true
3628
- }
3629
-
3630
- // HasMonitorSearch returns a boolean if a field has been set.
3631
- func (c *createUpdateServiceLevelObjective) HasMonitorSearch() bool {
3632
- if c != nil && c.MonitorSearch != nil {
3633
- return true
3634
- }
3635
-
3636
- return false
3637
- }
3638
-
3639
- // SetMonitorSearch allocates a new c.MonitorSearch and returns the pointer to it.
3640
- func (c *createUpdateServiceLevelObjective) SetMonitorSearch(v string) {
3641
- c.MonitorSearch = &v
3642
- }
3643
-
3644
- // GetName returns the Name field if non-nil, zero value otherwise.
3645
- func (c *createUpdateServiceLevelObjective) GetName() string {
3646
- if c == nil || c.Name == nil {
3647
- return ""
3648
- }
3649
- return *c.Name
3650
- }
3651
-
3652
- // GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
3653
- // and a boolean to check if the value has been set.
3654
- func (c *createUpdateServiceLevelObjective) GetNameOk() (string, bool) {
3655
- if c == nil || c.Name == nil {
3656
- return "", false
3657
- }
3658
- return *c.Name, true
3659
- }
3660
-
3661
- // HasName returns a boolean if a field has been set.
3662
- func (c *createUpdateServiceLevelObjective) HasName() bool {
3663
- if c != nil && c.Name != nil {
3664
- return true
3665
- }
3666
-
3667
- return false
3668
- }
3669
-
3670
- // SetName allocates a new c.Name and returns the pointer to it.
3671
- func (c *createUpdateServiceLevelObjective) SetName(v string) {
3672
- c.Name = &v
3673
- }
3674
-
3675
- // GetQuery returns the Query field if non-nil, zero value otherwise.
3676
- func (c *createUpdateServiceLevelObjective) GetQuery() ServiceLevelObjectiveMetricQuery {
3677
- if c == nil || c.Query == nil {
3678
- return ServiceLevelObjectiveMetricQuery{}
3679
- }
3680
- return *c.Query
3681
- }
3682
-
3683
- // GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise
3684
- // and a boolean to check if the value has been set.
3685
- func (c *createUpdateServiceLevelObjective) GetQueryOk() (ServiceLevelObjectiveMetricQuery, bool) {
3686
- if c == nil || c.Query == nil {
3687
- return ServiceLevelObjectiveMetricQuery{}, false
3688
- }
3689
- return *c.Query, true
3690
- }
3691
-
3692
- // HasQuery returns a boolean if a field has been set.
3693
- func (c *createUpdateServiceLevelObjective) HasQuery() bool {
3694
- if c != nil && c.Query != nil {
3695
- return true
3696
- }
3697
-
3698
- return false
3699
- }
3700
-
3701
- // SetQuery allocates a new c.Query and returns the pointer to it.
3702
- func (c *createUpdateServiceLevelObjective) SetQuery(v ServiceLevelObjectiveMetricQuery) {
3703
- c.Query = &v
3704
- }
3705
-
3706
- // GetType returns the Type field if non-nil, zero value otherwise.
3707
- func (c *createUpdateServiceLevelObjective) GetType() string {
3708
- if c == nil || c.Type == nil {
3709
- return ""
3710
- }
3711
- return *c.Type
3712
- }
3713
-
3714
- // GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
3715
- // and a boolean to check if the value has been set.
3716
- func (c *createUpdateServiceLevelObjective) GetTypeOk() (string, bool) {
3717
- if c == nil || c.Type == nil {
3718
- return "", false
3719
- }
3720
- return *c.Type, true
3721
- }
3722
-
3723
- // HasType returns a boolean if a field has been set.
3724
- func (c *createUpdateServiceLevelObjective) HasType() bool {
3725
- if c != nil && c.Type != nil {
3726
- return true
3727
- }
3728
-
3729
- return false
3730
- }
3731
-
3732
- // SetType allocates a new c.Type and returns the pointer to it.
3733
- func (c *createUpdateServiceLevelObjective) SetType(v string) {
3734
- c.Type = &v
3735
- }
3736
-
3737
3520
// GetEmail returns the Email field if non-nil, zero value otherwise.
3738
3521
func (c *Creator) GetEmail() string {
3739
3522
if c == nil || c.Email == nil {
@@ -15235,66 +15018,66 @@ func (s *ServiceLevelObjectiveMetricQuery) SetNumerator(v string) {
15235
15018
s.Numerator = &v
15236
15019
}
15237
15020
15238
- // GetSLO returns the SLO field if non-nil, zero value otherwise.
15239
- func (s *ServiceLevelObjectiveThreshold) GetSLO () float64 {
15240
- if s == nil || s.SLO == nil {
15021
+ // GetTarget returns the Target field if non-nil, zero value otherwise.
15022
+ func (s *ServiceLevelObjectiveThreshold) GetTarget () float64 {
15023
+ if s == nil || s.Target == nil {
15241
15024
return 0
15242
15025
}
15243
- return *s.SLO
15026
+ return *s.Target
15244
15027
}
15245
15028
15246
- // GetSLOOk returns a tuple with the SLO field if it's non-nil, zero value otherwise
15029
+ // GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise
15247
15030
// and a boolean to check if the value has been set.
15248
- func (s *ServiceLevelObjectiveThreshold) GetSLOOk () (float64, bool) {
15249
- if s == nil || s.SLO == nil {
15031
+ func (s *ServiceLevelObjectiveThreshold) GetTargetOk () (float64, bool) {
15032
+ if s == nil || s.Target == nil {
15250
15033
return 0, false
15251
15034
}
15252
- return *s.SLO , true
15035
+ return *s.Target , true
15253
15036
}
15254
15037
15255
- // HasSLO returns a boolean if a field has been set.
15256
- func (s *ServiceLevelObjectiveThreshold) HasSLO () bool {
15257
- if s != nil && s.SLO != nil {
15038
+ // HasTarget returns a boolean if a field has been set.
15039
+ func (s *ServiceLevelObjectiveThreshold) HasTarget () bool {
15040
+ if s != nil && s.Target != nil {
15258
15041
return true
15259
15042
}
15260
15043
15261
15044
return false
15262
15045
}
15263
15046
15264
- // SetSLO allocates a new s.SLO and returns the pointer to it.
15265
- func (s *ServiceLevelObjectiveThreshold) SetSLO (v float64) {
15266
- s.SLO = &v
15047
+ // SetTarget allocates a new s.Target and returns the pointer to it.
15048
+ func (s *ServiceLevelObjectiveThreshold) SetTarget (v float64) {
15049
+ s.Target = &v
15267
15050
}
15268
15051
15269
- // GetSLODisplay returns the SLODisplay field if non-nil, zero value otherwise.
15270
- func (s *ServiceLevelObjectiveThreshold) GetSLODisplay () string {
15271
- if s == nil || s.SLODisplay == nil {
15052
+ // GetTargetDisplay returns the TargetDisplay field if non-nil, zero value otherwise.
15053
+ func (s *ServiceLevelObjectiveThreshold) GetTargetDisplay () string {
15054
+ if s == nil || s.TargetDisplay == nil {
15272
15055
return ""
15273
15056
}
15274
- return *s.SLODisplay
15057
+ return *s.TargetDisplay
15275
15058
}
15276
15059
15277
- // GetSLODisplayOk returns a tuple with the SLODisplay field if it's non-nil, zero value otherwise
15060
+ // GetTargetDisplayOk returns a tuple with the TargetDisplay field if it's non-nil, zero value otherwise
15278
15061
// and a boolean to check if the value has been set.
15279
- func (s *ServiceLevelObjectiveThreshold) GetSLODisplayOk () (string, bool) {
15280
- if s == nil || s.SLODisplay == nil {
15062
+ func (s *ServiceLevelObjectiveThreshold) GetTargetDisplayOk () (string, bool) {
15063
+ if s == nil || s.TargetDisplay == nil {
15281
15064
return "", false
15282
15065
}
15283
- return *s.SLODisplay , true
15066
+ return *s.TargetDisplay , true
15284
15067
}
15285
15068
15286
- // HasSLODisplay returns a boolean if a field has been set.
15287
- func (s *ServiceLevelObjectiveThreshold) HasSLODisplay () bool {
15288
- if s != nil && s.SLODisplay != nil {
15069
+ // HasTargetDisplay returns a boolean if a field has been set.
15070
+ func (s *ServiceLevelObjectiveThreshold) HasTargetDisplay () bool {
15071
+ if s != nil && s.TargetDisplay != nil {
15289
15072
return true
15290
15073
}
15291
15074
15292
15075
return false
15293
15076
}
15294
15077
15295
- // SetSLODisplay allocates a new s.SLODisplay and returns the pointer to it.
15296
- func (s *ServiceLevelObjectiveThreshold) SetSLODisplay (v string) {
15297
- s.SLODisplay = &v
15078
+ // SetTargetDisplay allocates a new s.TargetDisplay and returns the pointer to it.
15079
+ func (s *ServiceLevelObjectiveThreshold) SetTargetDisplay (v string) {
15080
+ s.TargetDisplay = &v
15298
15081
}
15299
15082
15300
15083
// GetTimeFrame returns the TimeFrame field if non-nil, zero value otherwise.
0 commit comments