Skip to content

Commit 5c1a696

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 06e911d of spec repo (DataDog#3391)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 73c418f commit 5c1a696

3 files changed

Lines changed: 28 additions & 2 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26566,6 +26566,9 @@ components:
2656626566
description:
2656726567
description: Description of the degradation.
2656826568
type: string
26569+
is_backfilled:
26570+
description: Whether the degradation was backfilled.
26571+
type: boolean
2656926572
modified_at:
2657026573
description: Timestamp of when the degradation was last modified.
2657126574
format: date-time
@@ -50298,6 +50301,9 @@ components:
5029850301
in_progress_description:
5029950302
description: The description shown while the maintenance is in progress.
5030050303
type: string
50304+
is_backfilled:
50305+
description: Whether the maintenance was backfilled.
50306+
type: boolean
5030150307
modified_at:
5030250308
description: Timestamp of when the maintenance was last modified.
5030350309
format: date-time

lib/datadog_api_client/v2/models/degradation_data_attributes.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ class DegradationDataAttributes
3030
# Description of the degradation.
3131
attr_accessor :description
3232

33+
# Whether the degradation was backfilled.
34+
attr_accessor :is_backfilled
35+
3336
# Timestamp of when the degradation was last modified.
3437
attr_accessor :modified_at
3538

@@ -54,6 +57,7 @@ def self.attribute_map
5457
:'components_affected' => :'components_affected',
5558
:'created_at' => :'created_at',
5659
:'description' => :'description',
60+
:'is_backfilled' => :'is_backfilled',
5761
:'modified_at' => :'modified_at',
5862
:'source' => :'source',
5963
:'status' => :'status',
@@ -69,6 +73,7 @@ def self.openapi_types
6973
:'components_affected' => :'Array<DegradationDataAttributesComponentsAffectedItems>',
7074
:'created_at' => :'Time',
7175
:'description' => :'String',
76+
:'is_backfilled' => :'Boolean',
7277
:'modified_at' => :'Time',
7378
:'source' => :'DegradationDataAttributesSource',
7479
:'status' => :'CreateDegradationRequestDataAttributesStatus',
@@ -109,6 +114,10 @@ def initialize(attributes = {})
109114
self.description = attributes[:'description']
110115
end
111116

117+
if attributes.key?(:'is_backfilled')
118+
self.is_backfilled = attributes[:'is_backfilled']
119+
end
120+
112121
if attributes.key?(:'modified_at')
113122
self.modified_at = attributes[:'modified_at']
114123
end
@@ -161,6 +170,7 @@ def ==(o)
161170
components_affected == o.components_affected &&
162171
created_at == o.created_at &&
163172
description == o.description &&
173+
is_backfilled == o.is_backfilled &&
164174
modified_at == o.modified_at &&
165175
source == o.source &&
166176
status == o.status &&
@@ -173,7 +183,7 @@ def ==(o)
173183
# @return [Integer] Hash code
174184
# @!visibility private
175185
def hash
176-
[components_affected, created_at, description, modified_at, source, status, title, updates, additional_properties].hash
186+
[components_affected, created_at, description, is_backfilled, modified_at, source, status, title, updates, additional_properties].hash
177187
end
178188
end
179189
end

lib/datadog_api_client/v2/models/maintenance_data_attributes.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ class MaintenanceDataAttributes
3333
# The description shown while the maintenance is in progress.
3434
attr_accessor :in_progress_description
3535

36+
# Whether the maintenance was backfilled.
37+
attr_accessor :is_backfilled
38+
3639
# Timestamp of when the maintenance was last modified.
3740
attr_accessor :modified_at
3841

@@ -64,6 +67,7 @@ def self.attribute_map
6467
:'completed_description' => :'completed_description',
6568
:'components_affected' => :'components_affected',
6669
:'in_progress_description' => :'in_progress_description',
70+
:'is_backfilled' => :'is_backfilled',
6771
:'modified_at' => :'modified_at',
6872
:'published_date' => :'published_date',
6973
:'scheduled_description' => :'scheduled_description',
@@ -82,6 +86,7 @@ def self.openapi_types
8286
:'completed_description' => :'String',
8387
:'components_affected' => :'Array<MaintenanceDataAttributesComponentsAffectedItems>',
8488
:'in_progress_description' => :'String',
89+
:'is_backfilled' => :'Boolean',
8590
:'modified_at' => :'Time',
8691
:'published_date' => :'Time',
8792
:'scheduled_description' => :'String',
@@ -128,6 +133,10 @@ def initialize(attributes = {})
128133
self.in_progress_description = attributes[:'in_progress_description']
129134
end
130135

136+
if attributes.key?(:'is_backfilled')
137+
self.is_backfilled = attributes[:'is_backfilled']
138+
end
139+
131140
if attributes.key?(:'modified_at')
132141
self.modified_at = attributes[:'modified_at']
133142
end
@@ -189,6 +198,7 @@ def ==(o)
189198
completed_description == o.completed_description &&
190199
components_affected == o.components_affected &&
191200
in_progress_description == o.in_progress_description &&
201+
is_backfilled == o.is_backfilled &&
192202
modified_at == o.modified_at &&
193203
published_date == o.published_date &&
194204
scheduled_description == o.scheduled_description &&
@@ -203,7 +213,7 @@ def ==(o)
203213
# @return [Integer] Hash code
204214
# @!visibility private
205215
def hash
206-
[completed_date, completed_description, components_affected, in_progress_description, modified_at, published_date, scheduled_description, start_date, status, title, updates, additional_properties].hash
216+
[completed_date, completed_description, components_affected, in_progress_description, is_backfilled, modified_at, published_date, scheduled_description, start_date, status, title, updates, additional_properties].hash
207217
end
208218
end
209219
end

0 commit comments

Comments
 (0)