From 46c4c8d5a4c89cb48dcb3b88cc342834c6c1e535 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 18 Feb 2025 09:41:48 +0000 Subject: [PATCH] Regenerate client from commit f9205865 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 3bebdddfbc5b..ae04a11c9f98 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-14 15:03:43.770632", - "spec_repo_commit": "a739b49f" + "regenerated": "2025-02-18 09:41:19.502703", + "spec_repo_commit": "f9205865" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-14 15:03:43.786179", - "spec_repo_commit": "a739b49f" + "regenerated": "2025-02-18 09:41:19.517641", + "spec_repo_commit": "f9205865" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 79e471c0686f..5eeb5f5924fb 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -6688,6 +6688,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