diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index f8bb301286f5..00379af6cab4 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -26566,6 +26566,9 @@ components: description: description: Description of the degradation. type: string + is_backfilled: + description: Whether the degradation was backfilled. + type: boolean modified_at: description: Timestamp of when the degradation was last modified. format: date-time @@ -50298,6 +50301,9 @@ components: in_progress_description: description: The description shown while the maintenance is in progress. type: string + is_backfilled: + description: Whether the maintenance was backfilled. + type: boolean modified_at: description: Timestamp of when the maintenance was last modified. format: date-time diff --git a/lib/datadog_api_client/v2/models/degradation_data_attributes.rb b/lib/datadog_api_client/v2/models/degradation_data_attributes.rb index 070a22ae016a..041d621fe064 100644 --- a/lib/datadog_api_client/v2/models/degradation_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/degradation_data_attributes.rb @@ -30,6 +30,9 @@ class DegradationDataAttributes # Description of the degradation. attr_accessor :description + # Whether the degradation was backfilled. + attr_accessor :is_backfilled + # Timestamp of when the degradation was last modified. attr_accessor :modified_at @@ -54,6 +57,7 @@ def self.attribute_map :'components_affected' => :'components_affected', :'created_at' => :'created_at', :'description' => :'description', + :'is_backfilled' => :'is_backfilled', :'modified_at' => :'modified_at', :'source' => :'source', :'status' => :'status', @@ -69,6 +73,7 @@ def self.openapi_types :'components_affected' => :'Array', :'created_at' => :'Time', :'description' => :'String', + :'is_backfilled' => :'Boolean', :'modified_at' => :'Time', :'source' => :'DegradationDataAttributesSource', :'status' => :'CreateDegradationRequestDataAttributesStatus', @@ -109,6 +114,10 @@ def initialize(attributes = {}) self.description = attributes[:'description'] end + if attributes.key?(:'is_backfilled') + self.is_backfilled = attributes[:'is_backfilled'] + end + if attributes.key?(:'modified_at') self.modified_at = attributes[:'modified_at'] end @@ -161,6 +170,7 @@ def ==(o) components_affected == o.components_affected && created_at == o.created_at && description == o.description && + is_backfilled == o.is_backfilled && modified_at == o.modified_at && source == o.source && status == o.status && @@ -173,7 +183,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [components_affected, created_at, description, modified_at, source, status, title, updates, additional_properties].hash + [components_affected, created_at, description, is_backfilled, modified_at, source, status, title, updates, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/maintenance_data_attributes.rb b/lib/datadog_api_client/v2/models/maintenance_data_attributes.rb index 8729386a78aa..1e2e65ad5e00 100644 --- a/lib/datadog_api_client/v2/models/maintenance_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/maintenance_data_attributes.rb @@ -33,6 +33,9 @@ class MaintenanceDataAttributes # The description shown while the maintenance is in progress. attr_accessor :in_progress_description + # Whether the maintenance was backfilled. + attr_accessor :is_backfilled + # Timestamp of when the maintenance was last modified. attr_accessor :modified_at @@ -64,6 +67,7 @@ def self.attribute_map :'completed_description' => :'completed_description', :'components_affected' => :'components_affected', :'in_progress_description' => :'in_progress_description', + :'is_backfilled' => :'is_backfilled', :'modified_at' => :'modified_at', :'published_date' => :'published_date', :'scheduled_description' => :'scheduled_description', @@ -82,6 +86,7 @@ def self.openapi_types :'completed_description' => :'String', :'components_affected' => :'Array', :'in_progress_description' => :'String', + :'is_backfilled' => :'Boolean', :'modified_at' => :'Time', :'published_date' => :'Time', :'scheduled_description' => :'String', @@ -128,6 +133,10 @@ def initialize(attributes = {}) self.in_progress_description = attributes[:'in_progress_description'] end + if attributes.key?(:'is_backfilled') + self.is_backfilled = attributes[:'is_backfilled'] + end + if attributes.key?(:'modified_at') self.modified_at = attributes[:'modified_at'] end @@ -189,6 +198,7 @@ def ==(o) completed_description == o.completed_description && components_affected == o.components_affected && in_progress_description == o.in_progress_description && + is_backfilled == o.is_backfilled && modified_at == o.modified_at && published_date == o.published_date && scheduled_description == o.scheduled_description && @@ -203,7 +213,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [completed_date, completed_description, components_affected, in_progress_description, modified_at, published_date, scheduled_description, start_date, status, title, updates, additional_properties].hash + [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 end end end