From d0089aa9d29733c92c5c587c676993a30a1f4898 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 19 May 2025 15:26:44 +0000 Subject: [PATCH] Regenerate client from commit f89617c7 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 5 +++++ lib/datadog_api_client/v1/models/monitor.rb | 12 +++++++++++- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 151156c614f3..09bf3a7438c9 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-05-16 13:56:35.636435", - "spec_repo_commit": "dac51bc6" + "regenerated": "2025-05-19 15:26:09.287207", + "spec_repo_commit": "f89617c7" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-05-16 13:56:35.652383", - "spec_repo_commit": "dac51bc6" + "regenerated": "2025-05-19 15:26:09.303616", + "spec_repo_commit": "f89617c7" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index bfe39072ee55..3f645f25caf0 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -6729,6 +6729,11 @@ components: Monitor: description: Object describing a monitor. properties: + classification: + description: The classification of the monitor. + example: log + readOnly: true + type: string created: description: Timestamp of the monitor creation. format: date-time diff --git a/lib/datadog_api_client/v1/models/monitor.rb b/lib/datadog_api_client/v1/models/monitor.rb index ce3ce2a0bb8e..5e8777504146 100644 --- a/lib/datadog_api_client/v1/models/monitor.rb +++ b/lib/datadog_api_client/v1/models/monitor.rb @@ -21,6 +21,9 @@ module DatadogAPIClient::V1 class Monitor include BaseGenericModel + # The classification of the monitor. + attr_accessor :classification + # Timestamp of the monitor creation. attr_accessor :created @@ -78,6 +81,7 @@ class Monitor # @!visibility private def self.attribute_map { + :'classification' => :'classification', :'created' => :'created', :'creator' => :'creator', :'deleted' => :'deleted', @@ -102,6 +106,7 @@ def self.attribute_map # @!visibility private def self.openapi_types { + :'classification' => :'String', :'created' => :'Time', :'creator' => :'Creator', :'deleted' => :'Time', @@ -150,6 +155,10 @@ def initialize(attributes = {}) end } + if attributes.key?(:'classification') + self.classification = attributes[:'classification'] + end + if attributes.key?(:'created') self.created = attributes[:'created'] end @@ -280,6 +289,7 @@ def to_hash def ==(o) return true if self.equal?(o) self.class == o.class && + classification == o.classification && created == o.created && creator == o.creator && deleted == o.deleted && @@ -304,7 +314,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [created, creator, deleted, id, matching_downtimes, message, modified, multi, name, options, overall_state, priority, query, restricted_roles, state, tags, type, additional_properties].hash + [classification, created, creator, deleted, id, matching_downtimes, message, modified, multi, name, options, overall_state, priority, query, restricted_roles, state, tags, type, additional_properties].hash end end end