From b07d088ce74218309e429af204de826188799645 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 21 Jul 2026 17:53:45 +0000 Subject: [PATCH] Regenerate client from commit cd4dc5f of spec repo --- .generator/schemas/v2/openapi.yaml | 1 - ...ent_user_defined_role_data_attributes_request.rb | 13 +------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index e1fcef0a81a5..680f08792e5b 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -48210,7 +48210,6 @@ components: $ref: "#/components/schemas/IncidentUserDefinedRolePolicy" required: - name - - policy type: object IncidentUserDefinedRoleDataAttributesResponse: description: Attributes of an incident user-defined role. diff --git a/lib/datadog_api_client/v2/models/incident_user_defined_role_data_attributes_request.rb b/lib/datadog_api_client/v2/models/incident_user_defined_role_data_attributes_request.rb index 73c5524a0d60..33a9a49fee5e 100644 --- a/lib/datadog_api_client/v2/models/incident_user_defined_role_data_attributes_request.rb +++ b/lib/datadog_api_client/v2/models/incident_user_defined_role_data_attributes_request.rb @@ -28,7 +28,7 @@ class IncidentUserDefinedRoleDataAttributesRequest attr_reader :name # Policy configuration for a user-defined role. - attr_reader :policy + attr_accessor :policy attr_accessor :additional_properties @@ -96,7 +96,6 @@ def initialize(attributes = {}) # @!visibility private def valid? return false if @name.nil? - return false if @policy.nil? true end @@ -110,16 +109,6 @@ def name=(name) @name = name end - # Custom attribute writer method with validation - # @param policy [Object] Object to be assigned - # @!visibility private - def policy=(policy) - if policy.nil? - fail ArgumentError, 'invalid value for "policy", policy cannot be nil.' - end - @policy = policy - end - # Returns the object in the form of hash, with additionalProperties support. # @return [Hash] Returns the object in the form of hash # @!visibility private