From 4f677e8d2f90db50e5f6febe620e8cbd8fb7c98a Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 14 Aug 2026 14:01:18 +0000 Subject: [PATCH] Regenerate client from commit 22f067f of spec repo --- .generator/schemas/v2/openapi.yaml | 4 ++-- .../datadog/api/client/v2/api/LlmObservabilityApi.java | 9 +++++---- .../LLMObsAnnotationQueueDataAttributesRequest.java | 7 +++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index fcf5fd48e2c..ee9db84ef41 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -55239,7 +55239,6 @@ components: type: string required: - name - - project_id type: object LLMObsAnnotationQueueDataAttributesResponse: description: Attributes of an LLM Observability annotation queue. @@ -158838,7 +158837,8 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: |- - Create an annotation queue. The `name` and `project_id` fields are required. + Create an annotation queue. The `name` field is required. + Optionally associate the queue with a project by providing `project_id`. An optional `annotation_schema` can be provided to define the labels for the queue. Fields such as `created_by`, `owned_by`, `created_at`, `modified_by`, and `modified_at` are inferred by the backend. diff --git a/src/main/java/com/datadog/api/client/v2/api/LlmObservabilityApi.java b/src/main/java/com/datadog/api/client/v2/api/LlmObservabilityApi.java index e30851d31ca..0cd8a10446e 100644 --- a/src/main/java/com/datadog/api/client/v2/api/LlmObservabilityApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/LlmObservabilityApi.java @@ -725,10 +725,11 @@ public CompletableFuture createLLMObsAnnotationQu } /** - * Create an annotation queue. The name and project_id fields are - * required. An optional annotation_schema can be provided to define the labels for - * the queue. Fields such as created_by, owned_by, created_at - * , modified_by, and modified_at are inferred by the backend. + * Create an annotation queue. The name field is required. Optionally associate the + * queue with a project by providing project_id. An optional annotation_schema + * can be provided to define the labels for the queue. Fields such as created_by + * , owned_by, created_at, modified_by, and + * modified_at are inferred by the backend. * * @param body Create annotation queue payload. (required) * @return ApiResponse<LLMObsAnnotationQueueResponse> diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataAttributesRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataAttributesRequest.java index 06600a05316..0b9c74c2ced 100644 --- a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataAttributesRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataAttributesRequest.java @@ -44,10 +44,8 @@ public LLMObsAnnotationQueueDataAttributesRequest() {} @JsonCreator public LLMObsAnnotationQueueDataAttributesRequest( - @JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name, - @JsonProperty(required = true, value = JSON_PROPERTY_PROJECT_ID) String projectId) { + @JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name) { this.name = name; - this.projectId = projectId; } public LLMObsAnnotationQueueDataAttributesRequest annotationSchema( @@ -127,8 +125,9 @@ public LLMObsAnnotationQueueDataAttributesRequest projectId(String projectId) { * * @return projectId */ + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROJECT_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProjectId() { return projectId; }