From a8c90c7da755c2a07295d7406ad8dc2cc594c7c9 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 20 Apr 2026 19:37:07 +0000 Subject: [PATCH] Regenerate client from commit 1dfb39b of spec repo --- .generator/schemas/v2/openapi.yaml | 24 ++++++++++ .../llm_obs_annotated_interaction_item.rb | 44 ++++++++++++++++++- ...otation_queue_interaction_response_item.rb | 44 ++++++++++++++++++- 3 files changed, 110 insertions(+), 2 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index dd229dc55f7b..953f1ff2a959 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -37856,16 +37856,28 @@ components: description: Identifier of the content for this interaction. example: "trace-abc-123" type: string + created_at: + description: Timestamp when the interaction was added to the queue. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string id: description: Unique identifier of the interaction. example: "interaction-456" type: string + modified_at: + description: Timestamp when the interaction was last updated. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string type: $ref: "#/components/schemas/LLMObsInteractionType" required: - id - type - content_id + - created_at + - modified_at - annotations type: object LLMObsAnnotatedInteractionsDataAttributesResponse: @@ -38072,10 +38084,20 @@ components: description: Identifier of the content for this interaction. example: "trace-abc-123" type: string + created_at: + description: Timestamp when the interaction was added to the queue. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string id: description: Unique identifier of the interaction. example: "00000000-0000-0000-0000-000000000000" type: string + modified_at: + description: Timestamp when the interaction was last updated. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string type: $ref: "#/components/schemas/LLMObsInteractionType" required: @@ -38083,6 +38105,8 @@ components: - type - content_id - already_existed + - created_at + - modified_at type: object LLMObsAnnotationQueueInteractionsDataAttributesRequest: description: Attributes for adding interactions to an annotation queue. diff --git a/lib/datadog_api_client/v2/models/llm_obs_annotated_interaction_item.rb b/lib/datadog_api_client/v2/models/llm_obs_annotated_interaction_item.rb index ec0d4db000f6..aecf5a65f64b 100644 --- a/lib/datadog_api_client/v2/models/llm_obs_annotated_interaction_item.rb +++ b/lib/datadog_api_client/v2/models/llm_obs_annotated_interaction_item.rb @@ -27,9 +27,15 @@ class LLMObsAnnotatedInteractionItem # Identifier of the content for this interaction. attr_reader :content_id + # Timestamp when the interaction was added to the queue. + attr_reader :created_at + # Unique identifier of the interaction. attr_reader :id + # Timestamp when the interaction was last updated. + attr_reader :modified_at + # Type of interaction in an annotation queue. attr_reader :type @@ -41,7 +47,9 @@ def self.attribute_map { :'annotations' => :'annotations', :'content_id' => :'content_id', + :'created_at' => :'created_at', :'id' => :'id', + :'modified_at' => :'modified_at', :'type' => :'type' } end @@ -52,7 +60,9 @@ def self.openapi_types { :'annotations' => :'Array', :'content_id' => :'String', + :'created_at' => :'Time', :'id' => :'String', + :'modified_at' => :'Time', :'type' => :'LLMObsInteractionType' } end @@ -85,10 +95,18 @@ def initialize(attributes = {}) self.content_id = attributes[:'content_id'] end + if attributes.key?(:'created_at') + self.created_at = attributes[:'created_at'] + end + if attributes.key?(:'id') self.id = attributes[:'id'] end + if attributes.key?(:'modified_at') + self.modified_at = attributes[:'modified_at'] + end + if attributes.key?(:'type') self.type = attributes[:'type'] end @@ -100,7 +118,9 @@ def initialize(attributes = {}) def valid? return false if @annotations.nil? return false if @content_id.nil? + return false if @created_at.nil? return false if @id.nil? + return false if @modified_at.nil? return false if @type.nil? true end @@ -125,6 +145,16 @@ def content_id=(content_id) @content_id = content_id end + # Custom attribute writer method with validation + # @param created_at [Object] Object to be assigned + # @!visibility private + def created_at=(created_at) + if created_at.nil? + fail ArgumentError, 'invalid value for "created_at", created_at cannot be nil.' + end + @created_at = created_at + end + # Custom attribute writer method with validation # @param id [Object] Object to be assigned # @!visibility private @@ -135,6 +165,16 @@ def id=(id) @id = id end + # Custom attribute writer method with validation + # @param modified_at [Object] Object to be assigned + # @!visibility private + def modified_at=(modified_at) + if modified_at.nil? + fail ArgumentError, 'invalid value for "modified_at", modified_at cannot be nil.' + end + @modified_at = modified_at + end + # Custom attribute writer method with validation # @param type [Object] Object to be assigned # @!visibility private @@ -173,7 +213,9 @@ def ==(o) self.class == o.class && annotations == o.annotations && content_id == o.content_id && + created_at == o.created_at && id == o.id && + modified_at == o.modified_at && type == o.type && additional_properties == o.additional_properties end @@ -182,7 +224,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [annotations, content_id, id, type, additional_properties].hash + [annotations, content_id, created_at, id, modified_at, type, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_response_item.rb b/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_response_item.rb index 0602c34900a3..4c88c433ac4b 100644 --- a/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_response_item.rb +++ b/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_response_item.rb @@ -27,9 +27,15 @@ class LLMObsAnnotationQueueInteractionResponseItem # Identifier of the content for this interaction. attr_reader :content_id + # Timestamp when the interaction was added to the queue. + attr_reader :created_at + # Unique identifier of the interaction. attr_reader :id + # Timestamp when the interaction was last updated. + attr_reader :modified_at + # Type of interaction in an annotation queue. attr_reader :type @@ -41,7 +47,9 @@ def self.attribute_map { :'already_existed' => :'already_existed', :'content_id' => :'content_id', + :'created_at' => :'created_at', :'id' => :'id', + :'modified_at' => :'modified_at', :'type' => :'type' } end @@ -52,7 +60,9 @@ def self.openapi_types { :'already_existed' => :'Boolean', :'content_id' => :'String', + :'created_at' => :'Time', :'id' => :'String', + :'modified_at' => :'Time', :'type' => :'LLMObsInteractionType' } end @@ -83,10 +93,18 @@ def initialize(attributes = {}) self.content_id = attributes[:'content_id'] end + if attributes.key?(:'created_at') + self.created_at = attributes[:'created_at'] + end + if attributes.key?(:'id') self.id = attributes[:'id'] end + if attributes.key?(:'modified_at') + self.modified_at = attributes[:'modified_at'] + end + if attributes.key?(:'type') self.type = attributes[:'type'] end @@ -98,7 +116,9 @@ def initialize(attributes = {}) def valid? return false if @already_existed.nil? return false if @content_id.nil? + return false if @created_at.nil? return false if @id.nil? + return false if @modified_at.nil? return false if @type.nil? true end @@ -123,6 +143,16 @@ def content_id=(content_id) @content_id = content_id end + # Custom attribute writer method with validation + # @param created_at [Object] Object to be assigned + # @!visibility private + def created_at=(created_at) + if created_at.nil? + fail ArgumentError, 'invalid value for "created_at", created_at cannot be nil.' + end + @created_at = created_at + end + # Custom attribute writer method with validation # @param id [Object] Object to be assigned # @!visibility private @@ -133,6 +163,16 @@ def id=(id) @id = id end + # Custom attribute writer method with validation + # @param modified_at [Object] Object to be assigned + # @!visibility private + def modified_at=(modified_at) + if modified_at.nil? + fail ArgumentError, 'invalid value for "modified_at", modified_at cannot be nil.' + end + @modified_at = modified_at + end + # Custom attribute writer method with validation # @param type [Object] Object to be assigned # @!visibility private @@ -171,7 +211,9 @@ def ==(o) self.class == o.class && already_existed == o.already_existed && content_id == o.content_id && + created_at == o.created_at && id == o.id && + modified_at == o.modified_at && type == o.type && additional_properties == o.additional_properties end @@ -180,7 +222,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [already_existed, content_id, id, type, additional_properties].hash + [already_existed, content_id, created_at, id, modified_at, type, additional_properties].hash end end end