@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
2121 class ScheduleTrigger
2222 include BaseGenericModel
2323
24+ # Controls whether a scheduled workflow run may start while another instance is still running.
25+ attr_accessor :overlap_behavior
26+
2427 # Recurrence rule expression for scheduling.
2528 attr_reader :rrule_expression
2629
@@ -30,6 +33,7 @@ class ScheduleTrigger
3033 # @!visibility private
3134 def self . attribute_map
3235 {
36+ :'overlap_behavior' => :'overlapBehavior' ,
3337 :'rrule_expression' => :'rruleExpression'
3438 }
3539 end
@@ -38,6 +42,7 @@ def self.attribute_map
3842 # @!visibility private
3943 def self . openapi_types
4044 {
45+ :'overlap_behavior' => :'ScheduleTriggerOverlapBehavior' ,
4146 :'rrule_expression' => :'String'
4247 }
4348 end
@@ -60,6 +65,10 @@ def initialize(attributes = {})
6065 end
6166 }
6267
68+ if attributes . key? ( :'overlap_behavior' )
69+ self . overlap_behavior = attributes [ :'overlap_behavior' ]
70+ end
71+
6372 if attributes . key? ( :'rrule_expression' )
6473 self . rrule_expression = attributes [ :'rrule_expression' ]
6574 end
@@ -109,6 +118,7 @@ def to_hash
109118 def ==( o )
110119 return true if self . equal? ( o )
111120 self . class == o . class &&
121+ overlap_behavior == o . overlap_behavior &&
112122 rrule_expression == o . rrule_expression &&
113123 additional_properties == o . additional_properties
114124 end
@@ -117,7 +127,7 @@ def ==(o)
117127 # @return [Integer] Hash code
118128 # @!visibility private
119129 def hash
120- [ rrule_expression , additional_properties ] . hash
130+ [ overlap_behavior , rrule_expression , additional_properties ] . hash
121131 end
122132 end
123133end
0 commit comments