From bbffd44c15f3b55a3757403ff87e0fe7fc5e21d5 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 25 Jan 2024 15:53:23 +0000 Subject: [PATCH] Regenerate client from commit bdb7b215 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 3 +++ ...ecurity_monitoring_suppression_update_attributes.rb | 10 +++++++++- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 70f7dc65eab6..d7421e2fb203 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-01-24 20:59:45.105938", - "spec_repo_commit": "9d7a3d85" + "regenerated": "2024-01-25 15:52:49.755221", + "spec_repo_commit": "bdb7b215" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-01-24 20:59:45.120436", - "spec_repo_commit": "9d7a3d85" + "regenerated": "2024-01-25 15:52:49.775749", + "spec_repo_commit": "bdb7b215" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index fabb982d2a2b..1435ae14cb46 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -16759,8 +16759,11 @@ components: expiration_date: description: A Unix millisecond timestamp giving an expiration date for the suppression rule. After this date, it won't suppress signals anymore. + If unset, the expiration date of the suppression rule is left untouched. + If set to `null`, the expiration date is removed. example: 1703187336000 format: int64 + nullable: true type: integer name: description: The name of the suppression rule. diff --git a/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb b/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb index 5887a1ffd927..a51a7f5b76ff 100644 --- a/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +++ b/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb @@ -27,7 +27,7 @@ class SecurityMonitoringSuppressionUpdateAttributes # Whether the suppression rule is enabled. attr_accessor :enabled - # A Unix millisecond timestamp giving an expiration date for the suppression rule. After this date, it won't suppress signals anymore. + # A Unix millisecond timestamp giving an expiration date for the suppression rule. After this date, it won't suppress signals anymore. If unset, the expiration date of the suppression rule is left untouched. If set to `null`, the expiration date is removed. attr_accessor :expiration_date # The name of the suppression rule. @@ -70,6 +70,14 @@ def self.openapi_types } end + # List of attributes with nullable: true + # @!visibility private + def self.openapi_nullable + Set.new([ + :'expiration_date', + ]) + end + # Initializes the object # @param attributes [Hash] Model attributes in the form of hash # @!visibility private