diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d235bdcd3db..e632b11bed7 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -758,6 +758,14 @@ components: schema: example: "my-job" type: string + LLMObsAnnotationQueueIDPathParameter: + description: The ID of the LLM Observability annotation queue. + example: "b5e7f3a1-9c2d-4f8b-a1e6-3d7e9f0a2b4c" + in: path + name: queue_id + required: true + schema: + type: string LLMObsDatasetIDPathParameter: description: The ID of the LLM Observability dataset. example: "9f64e5c7-dc5a-45c8-a17c-1b85f0bec97d" @@ -36063,6 +36071,386 @@ components: format: int64 type: integer type: object + LLMObsAnnotatedInteractionItem: + description: An interaction with its associated annotations. + properties: + annotations: + description: List of annotations for this interaction. + items: + $ref: "#/components/schemas/LLMObsAnnotationItem" + type: array + content_id: + description: Identifier of the content for this interaction. + example: "trace-abc-123" + type: string + id: + description: Unique identifier of the interaction. + example: "interaction-456" + type: string + type: + $ref: "#/components/schemas/LLMObsInteractionType" + required: + - id + - type + - content_id + - annotations + type: object + LLMObsAnnotatedInteractionsDataAttributesResponse: + description: Attributes containing the list of annotated interactions. + properties: + annotated_interactions: + description: List of interactions with their annotations. + items: + $ref: "#/components/schemas/LLMObsAnnotatedInteractionItem" + type: array + required: + - annotated_interactions + type: object + LLMObsAnnotatedInteractionsDataResponse: + description: Data object for annotated interactions. + properties: + attributes: + $ref: "#/components/schemas/LLMObsAnnotatedInteractionsDataAttributesResponse" + id: + description: The queue ID. + example: "b5e7f3a1-9c2d-4f8b-a1e6-3d7e9f0a2b4c" + type: string + type: + $ref: "#/components/schemas/LLMObsAnnotatedInteractionsType" + required: + - id + - type + - attributes + type: object + LLMObsAnnotatedInteractionsResponse: + description: Response containing the annotated interactions for an annotation queue. + properties: + data: + $ref: "#/components/schemas/LLMObsAnnotatedInteractionsDataResponse" + required: + - data + type: object + LLMObsAnnotatedInteractionsType: + description: Resource type for annotated interactions. + enum: + - annotated_interactions + example: annotated_interactions + type: string + x-enum-varnames: + - ANNOTATED_INTERACTIONS + LLMObsAnnotationItem: + description: A single annotation on an interaction. + properties: + created_at: + description: Timestamp when the annotation was created. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string + created_by: + description: Identifier of the user who created the annotation. + example: "00000000-0000-0000-0000-000000000002" + type: string + id: + description: Unique identifier of the annotation. + example: "annotation-789" + type: string + interaction_id: + description: Identifier of the interaction this annotation belongs to. + example: "interaction-456" + type: string + label_values: + additionalProperties: {} + description: The label values for this annotation. + example: + quality: "good" + type: object + modified_at: + description: Timestamp when the annotation was last modified. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string + modified_by: + description: Identifier of the user who last modified the annotation. + example: "00000000-0000-0000-0000-000000000002" + type: string + required: + - id + - interaction_id + - label_values + - created_by + - created_at + - modified_by + - modified_at + type: object + LLMObsAnnotationQueueDataAttributesRequest: + description: Attributes for creating an LLM Observability annotation queue. + properties: + description: + description: Description of the annotation queue. + example: "Queue for annotating customer support traces" + type: string + name: + description: Name of the annotation queue. + example: "My annotation queue" + type: string + project_id: + description: Identifier of the project this queue belongs to. + example: "a33671aa-24fd-4dcd-9b33-a8ec7dde7751" + type: string + required: + - name + - project_id + type: object + LLMObsAnnotationQueueDataAttributesResponse: + description: Attributes of an LLM Observability annotation queue. + properties: + created_at: + description: Timestamp when the queue was created. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string + created_by: + description: Identifier of the user who created the queue. + example: "00000000-0000-0000-0000-000000000002" + type: string + description: + description: Description of the annotation queue. + example: "Queue for annotating customer support traces" + type: string + modified_at: + description: Timestamp when the queue was last modified. + example: "2024-01-15T10:30:00Z" + format: date-time + type: string + modified_by: + description: Identifier of the user who last modified the queue. + example: "00000000-0000-0000-0000-000000000002" + type: string + name: + description: Name of the annotation queue. + example: "My annotation queue" + type: string + owned_by: + description: Identifier of the user who owns the queue. + example: "00000000-0000-0000-0000-000000000002" + type: string + project_id: + description: Identifier of the project this queue belongs to. + example: "a33671aa-24fd-4dcd-9b33-a8ec7dde7751" + type: string + required: + - name + - project_id + - description + - created_by + - created_at + - modified_by + - modified_at + - owned_by + type: object + LLMObsAnnotationQueueDataRequest: + description: Data object for creating an LLM Observability annotation queue. + properties: + attributes: + $ref: "#/components/schemas/LLMObsAnnotationQueueDataAttributesRequest" + type: + $ref: "#/components/schemas/LLMObsAnnotationQueueType" + required: + - type + - attributes + type: object + LLMObsAnnotationQueueDataResponse: + description: Data object for an LLM Observability annotation queue. + properties: + attributes: + $ref: "#/components/schemas/LLMObsAnnotationQueueDataAttributesResponse" + id: + description: Unique identifier of the annotation queue. + example: "b5e7f3a1-9c2d-4f8b-a1e6-3d7e9f0a2b4c" + type: string + type: + $ref: "#/components/schemas/LLMObsAnnotationQueueType" + required: + - id + - type + - attributes + type: object + LLMObsAnnotationQueueInteractionItem: + description: A single interaction to add to an annotation queue. + properties: + content_id: + description: Identifier of the content (such as trace ID) for this interaction. + example: "trace-abc-123" + type: string + type: + $ref: "#/components/schemas/LLMObsInteractionType" + required: + - type + - content_id + type: object + LLMObsAnnotationQueueInteractionResponseItem: + description: A single interaction result. + properties: + already_existed: + description: Whether this interaction already existed in the queue. + example: false + type: boolean + content_id: + description: Identifier of the content for this interaction. + example: "trace-abc-123" + type: string + id: + description: Unique identifier of the interaction. + example: "00000000-0000-0000-0000-000000000000" + type: string + type: + $ref: "#/components/schemas/LLMObsInteractionType" + required: + - id + - type + - content_id + - already_existed + type: object + LLMObsAnnotationQueueInteractionsDataAttributesRequest: + description: Attributes for adding interactions to an annotation queue. + properties: + interactions: + description: List of interactions to add to the queue. Must contain at least one item. + items: + $ref: "#/components/schemas/LLMObsAnnotationQueueInteractionItem" + minItems: 1 + type: array + required: + - interactions + type: object + LLMObsAnnotationQueueInteractionsDataAttributesResponse: + description: Attributes of the interaction addition response. + properties: + interactions: + description: List of interactions that were processed. + items: + $ref: "#/components/schemas/LLMObsAnnotationQueueInteractionResponseItem" + type: array + required: + - interactions + type: object + LLMObsAnnotationQueueInteractionsDataRequest: + description: Data object for adding interactions to an annotation queue. + properties: + attributes: + $ref: "#/components/schemas/LLMObsAnnotationQueueInteractionsDataAttributesRequest" + type: + $ref: "#/components/schemas/LLMObsAnnotationQueueInteractionsType" + required: + - type + - attributes + type: object + LLMObsAnnotationQueueInteractionsDataResponse: + description: Data object for the interaction addition response. + properties: + attributes: + $ref: "#/components/schemas/LLMObsAnnotationQueueInteractionsDataAttributesResponse" + id: + description: The queue ID the interactions were added to. + example: "b5e7f3a1-9c2d-4f8b-a1e6-3d7e9f0a2b4c" + type: string + type: + $ref: "#/components/schemas/LLMObsAnnotationQueueInteractionsType" + required: + - id + - type + - attributes + type: object + LLMObsAnnotationQueueInteractionsRequest: + description: Request to add interactions to an LLM Observability annotation queue. + properties: + data: + $ref: "#/components/schemas/LLMObsAnnotationQueueInteractionsDataRequest" + required: + - data + type: object + LLMObsAnnotationQueueInteractionsResponse: + description: Response containing the result of adding interactions to an annotation queue. + properties: + data: + $ref: "#/components/schemas/LLMObsAnnotationQueueInteractionsDataResponse" + required: + - data + type: object + LLMObsAnnotationQueueInteractionsType: + description: Resource type for annotation queue interactions. + enum: + - interactions + example: interactions + type: string + x-enum-varnames: + - INTERACTIONS + LLMObsAnnotationQueueRequest: + description: Request to create an LLM Observability annotation queue. + properties: + data: + $ref: "#/components/schemas/LLMObsAnnotationQueueDataRequest" + required: + - data + type: object + LLMObsAnnotationQueueResponse: + description: Response containing a single LLM Observability annotation queue. + properties: + data: + $ref: "#/components/schemas/LLMObsAnnotationQueueDataResponse" + required: + - data + type: object + LLMObsAnnotationQueueType: + description: Resource type of an LLM Observability annotation queue. + enum: + - queues + example: queues + type: string + x-enum-varnames: + - QUEUES + LLMObsAnnotationQueueUpdateDataAttributesRequest: + description: Attributes for updating an LLM Observability annotation queue. All fields are optional. + properties: + description: + description: Updated description of the annotation queue. + example: "Updated description" + type: string + name: + description: Updated name of the annotation queue. + example: "Updated queue name" + type: string + type: object + LLMObsAnnotationQueueUpdateDataRequest: + description: Data object for updating an LLM Observability annotation queue. + properties: + attributes: + $ref: "#/components/schemas/LLMObsAnnotationQueueUpdateDataAttributesRequest" + type: + $ref: "#/components/schemas/LLMObsAnnotationQueueType" + required: + - type + - attributes + type: object + LLMObsAnnotationQueueUpdateRequest: + description: Request to update an LLM Observability annotation queue. + properties: + data: + $ref: "#/components/schemas/LLMObsAnnotationQueueUpdateDataRequest" + required: + - data + type: object + LLMObsAnnotationQueuesResponse: + description: Response containing a list of LLM Observability annotation queues. + properties: + data: + description: List of annotation queues. + items: + $ref: "#/components/schemas/LLMObsAnnotationQueueDataResponse" + type: array + required: + - data + type: object LLMObsCursorMeta: description: Pagination cursor metadata. properties: @@ -36394,6 +36782,41 @@ components: required: - data type: object + LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest: + description: Attributes for deleting interactions from an annotation queue. + properties: + interaction_ids: + description: List of interaction IDs to delete. Must contain at least one item. + example: + - "00000000-0000-0000-0000-000000000000" + - "00000000-0000-0000-0000-000000000001" + items: + description: An interaction ID to delete. + type: string + minItems: 1 + type: array + required: + - interaction_ids + type: object + LLMObsDeleteAnnotationQueueInteractionsDataRequest: + description: Data object for deleting interactions from an annotation queue. + properties: + attributes: + $ref: "#/components/schemas/LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest" + type: + $ref: "#/components/schemas/LLMObsAnnotationQueueInteractionsType" + required: + - type + - attributes + type: object + LLMObsDeleteAnnotationQueueInteractionsRequest: + description: Request to delete interactions from an LLM Observability annotation queue. + properties: + data: + $ref: "#/components/schemas/LLMObsDeleteAnnotationQueueInteractionsDataRequest" + required: + - data + type: object LLMObsDeleteDatasetRecordsDataAttributesRequest: description: Attributes for deleting records from an LLM Observability dataset. properties: @@ -36903,6 +37326,16 @@ components: required: - data type: object + LLMObsInteractionType: + description: Type of interaction in an annotation queue. + enum: + - trace + - experiment_trace + example: trace + type: string + x-enum-varnames: + - TRACE + - EXPERIMENT_TRACE LLMObsMetricAssessment: description: Assessment result for an LLM Observability experiment metric. enum: @@ -92366,6 +92799,358 @@ paths: operator: OR permissions: - org_management + /api/v2/llm-obs/v1/annotation-queues: + get: + description: |- + List annotation queues. Optionally filter by project ID or queue IDs. These parameters are mutually exclusive. + If neither is provided, all queues in the organization are returned. + operationId: ListLLMObsAnnotationQueues + parameters: + - description: Filter annotation queues by project ID. Cannot be used together with `queueIds`. + in: query + name: projectId + schema: + type: string + - description: Filter annotation queues by queue IDs (comma-separated). Cannot be used together with `projectId`. + in: query + name: queueIds + schema: + items: + type: string + type: array + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/LLMObsAnnotationQueuesResponse" + description: OK + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Bad Request + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Unauthorized + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Forbidden + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + summary: List LLM Observability annotation queues + tags: + - LLM Observability + x-unstable: |- + **Note**: This endpoint is in preview and is subject to change. + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). + post: + description: |- + Create a new annotation queue. Only `name`, `project_id`, and `description` are accepted. + Fields such as `created_by`, `owned_by`, `created_at`, `modified_by`, and `modified_at` are inferred by the backend. + operationId: CreateLLMObsAnnotationQueue + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/LLMObsAnnotationQueueRequest" + description: Create annotation queue payload. + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/LLMObsAnnotationQueueResponse" + description: Created + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Bad Request + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Unauthorized + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Forbidden + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + summary: Create an LLM Observability annotation queue + tags: + - LLM Observability + x-unstable: |- + **Note**: This endpoint is in preview and is subject to change. + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). + /api/v2/llm-obs/v1/annotation-queues/{queue_id}: + delete: + description: Delete an annotation queue by its ID. + operationId: DeleteLLMObsAnnotationQueue + parameters: + - $ref: "#/components/parameters/LLMObsAnnotationQueueIDPathParameter" + responses: + "204": + description: No Content + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Unauthorized + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Forbidden + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Not Found + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + summary: Delete an LLM Observability annotation queue + tags: + - LLM Observability + x-unstable: |- + **Note**: This endpoint is in preview and is subject to change. + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). + patch: + description: |- + Partially update an annotation queue. Only `name` and `description` can be updated. + operationId: UpdateLLMObsAnnotationQueue + parameters: + - $ref: "#/components/parameters/LLMObsAnnotationQueueIDPathParameter" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/LLMObsAnnotationQueueUpdateRequest" + description: Update annotation queue payload. + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/LLMObsAnnotationQueueResponse" + description: OK + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Bad Request + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Unauthorized + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Forbidden + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Not Found + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + summary: Update an LLM Observability annotation queue + tags: + - LLM Observability + x-unstable: |- + **Note**: This endpoint is in preview and is subject to change. + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). + /api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotated-interactions: + get: + description: Retrieve all interactions and their annotations for a given annotation queue. + operationId: GetLLMObsAnnotatedInteractions + parameters: + - $ref: "#/components/parameters/LLMObsAnnotationQueueIDPathParameter" + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/LLMObsAnnotatedInteractionsResponse" + description: OK + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Bad Request + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Unauthorized + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Forbidden + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Not Found + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + summary: Get annotated queue interactions + tags: + - LLM Observability + x-unstable: |- + **Note**: This endpoint is in preview and is subject to change. + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). + /api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions: + post: + description: |- + Add one or more interactions (traces) to an annotation queue. + At least one interaction must be provided. + operationId: CreateLLMObsAnnotationQueueInteractions + parameters: + - $ref: "#/components/parameters/LLMObsAnnotationQueueIDPathParameter" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/LLMObsAnnotationQueueInteractionsRequest" + description: Add interactions payload. + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/LLMObsAnnotationQueueInteractionsResponse" + description: Created + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Bad Request + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Unauthorized + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Forbidden + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Not Found + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + summary: Add annotation queue interactions + tags: + - LLM Observability + x-unstable: |- + **Note**: This endpoint is in preview and is subject to change. + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). + /api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions/delete: + post: + description: Delete one or more interactions from an annotation queue. + operationId: DeleteLLMObsAnnotationQueueInteractions + parameters: + - $ref: "#/components/parameters/LLMObsAnnotationQueueIDPathParameter" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/LLMObsDeleteAnnotationQueueInteractionsRequest" + description: Delete interactions payload. + required: true + responses: + "204": + description: No Content + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Bad Request + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Unauthorized + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Forbidden + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Not Found + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + summary: Delete annotation queue interactions + tags: + - LLM Observability + x-unstable: |- + **Note**: This endpoint is in preview and is subject to change. + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/llm-obs/v1/experiments: get: description: List all LLM Observability experiments sorted by creation date, newest first. @@ -115735,7 +116520,7 @@ tags: description: Find out more at url: "https://docs.datadoghq.com/account_management/api-app-keys/" name: Key Management - - description: Manage LLM Observability projects, datasets, dataset records, and experiments via the Experiments API. + - description: Manage LLM Observability projects, datasets, dataset records, experiments, and annotations. name: LLM Observability - description: |- Search your logs and send them to your Datadog platform over HTTP. See the [Log Management page](https://docs.datadoghq.com/logs/) for more information. diff --git a/examples/v2/llm-observability/CreateLLMObsAnnotationQueue.java b/examples/v2/llm-observability/CreateLLMObsAnnotationQueue.java new file mode 100644 index 00000000000..c2d025904af --- /dev/null +++ b/examples/v2/llm-observability/CreateLLMObsAnnotationQueue.java @@ -0,0 +1,40 @@ +// Create an LLM Observability annotation queue returns "Created" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.LlmObservabilityApi; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueDataAttributesRequest; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueDataRequest; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueRequest; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueResponse; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueType; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.createLLMObsAnnotationQueue", true); + LlmObservabilityApi apiInstance = new LlmObservabilityApi(defaultClient); + + LLMObsAnnotationQueueRequest body = + new LLMObsAnnotationQueueRequest() + .data( + new LLMObsAnnotationQueueDataRequest() + .attributes( + new LLMObsAnnotationQueueDataAttributesRequest() + .description("Queue for annotating customer support traces") + .name("My annotation queue") + .projectId("a33671aa-24fd-4dcd-9b33-a8ec7dde7751")) + .type(LLMObsAnnotationQueueType.QUEUES)); + + try { + LLMObsAnnotationQueueResponse result = apiInstance.createLLMObsAnnotationQueue(body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling LlmObservabilityApi#createLLMObsAnnotationQueue"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/llm-observability/CreateLLMObsAnnotationQueueInteractions.java b/examples/v2/llm-observability/CreateLLMObsAnnotationQueueInteractions.java new file mode 100644 index 00000000000..052832c8449 --- /dev/null +++ b/examples/v2/llm-observability/CreateLLMObsAnnotationQueueInteractions.java @@ -0,0 +1,48 @@ +// Add annotation queue interactions returns "Created" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.LlmObservabilityApi; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueInteractionItem; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueInteractionsDataAttributesRequest; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueInteractionsDataRequest; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueInteractionsRequest; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueInteractionsResponse; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueInteractionsType; +import com.datadog.api.client.v2.model.LLMObsInteractionType; +import java.util.Collections; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.createLLMObsAnnotationQueueInteractions", true); + LlmObservabilityApi apiInstance = new LlmObservabilityApi(defaultClient); + + LLMObsAnnotationQueueInteractionsRequest body = + new LLMObsAnnotationQueueInteractionsRequest() + .data( + new LLMObsAnnotationQueueInteractionsDataRequest() + .attributes( + new LLMObsAnnotationQueueInteractionsDataAttributesRequest() + .interactions( + Collections.singletonList( + new LLMObsAnnotationQueueInteractionItem() + .contentId("trace-abc-123") + .type(LLMObsInteractionType.TRACE)))) + .type(LLMObsAnnotationQueueInteractionsType.INTERACTIONS)); + + try { + LLMObsAnnotationQueueInteractionsResponse result = + apiInstance.createLLMObsAnnotationQueueInteractions( + "b5e7f3a1-9c2d-4f8b-a1e6-3d7e9f0a2b4c", body); + System.out.println(result); + } catch (ApiException e) { + System.err.println( + "Exception when calling LlmObservabilityApi#createLLMObsAnnotationQueueInteractions"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/llm-observability/DeleteLLMObsAnnotationQueue.java b/examples/v2/llm-observability/DeleteLLMObsAnnotationQueue.java new file mode 100644 index 00000000000..5182dad3fce --- /dev/null +++ b/examples/v2/llm-observability/DeleteLLMObsAnnotationQueue.java @@ -0,0 +1,23 @@ +// Delete an LLM Observability annotation queue returns "No Content" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.LlmObservabilityApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.deleteLLMObsAnnotationQueue", true); + LlmObservabilityApi apiInstance = new LlmObservabilityApi(defaultClient); + + try { + apiInstance.deleteLLMObsAnnotationQueue("b5e7f3a1-9c2d-4f8b-a1e6-3d7e9f0a2b4c"); + } catch (ApiException e) { + System.err.println("Exception when calling LlmObservabilityApi#deleteLLMObsAnnotationQueue"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/llm-observability/DeleteLLMObsAnnotationQueueInteractions.java b/examples/v2/llm-observability/DeleteLLMObsAnnotationQueueInteractions.java new file mode 100644 index 00000000000..1057e6e62d1 --- /dev/null +++ b/examples/v2/llm-observability/DeleteLLMObsAnnotationQueueInteractions.java @@ -0,0 +1,42 @@ +// Delete annotation queue interactions returns "No Content" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.LlmObservabilityApi; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueInteractionsType; +import com.datadog.api.client.v2.model.LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest; +import com.datadog.api.client.v2.model.LLMObsDeleteAnnotationQueueInteractionsDataRequest; +import com.datadog.api.client.v2.model.LLMObsDeleteAnnotationQueueInteractionsRequest; +import java.util.Arrays; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.deleteLLMObsAnnotationQueueInteractions", true); + LlmObservabilityApi apiInstance = new LlmObservabilityApi(defaultClient); + + LLMObsDeleteAnnotationQueueInteractionsRequest body = + new LLMObsDeleteAnnotationQueueInteractionsRequest() + .data( + new LLMObsDeleteAnnotationQueueInteractionsDataRequest() + .attributes( + new LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest() + .interactionIds( + Arrays.asList( + "00000000-0000-0000-0000-000000000000", + "00000000-0000-0000-0000-000000000001"))) + .type(LLMObsAnnotationQueueInteractionsType.INTERACTIONS)); + + try { + apiInstance.deleteLLMObsAnnotationQueueInteractions( + "b5e7f3a1-9c2d-4f8b-a1e6-3d7e9f0a2b4c", body); + } catch (ApiException e) { + System.err.println( + "Exception when calling LlmObservabilityApi#deleteLLMObsAnnotationQueueInteractions"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/llm-observability/GetLLMObsAnnotatedInteractions.java b/examples/v2/llm-observability/GetLLMObsAnnotatedInteractions.java new file mode 100644 index 00000000000..cfc8ab3b5c9 --- /dev/null +++ b/examples/v2/llm-observability/GetLLMObsAnnotatedInteractions.java @@ -0,0 +1,27 @@ +// Get annotated queue interactions returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.LlmObservabilityApi; +import com.datadog.api.client.v2.model.LLMObsAnnotatedInteractionsResponse; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.getLLMObsAnnotatedInteractions", true); + LlmObservabilityApi apiInstance = new LlmObservabilityApi(defaultClient); + + try { + LLMObsAnnotatedInteractionsResponse result = + apiInstance.getLLMObsAnnotatedInteractions("b5e7f3a1-9c2d-4f8b-a1e6-3d7e9f0a2b4c"); + System.out.println(result); + } catch (ApiException e) { + System.err.println( + "Exception when calling LlmObservabilityApi#getLLMObsAnnotatedInteractions"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/llm-observability/ListLLMObsAnnotationQueues.java b/examples/v2/llm-observability/ListLLMObsAnnotationQueues.java new file mode 100644 index 00000000000..2530ed44655 --- /dev/null +++ b/examples/v2/llm-observability/ListLLMObsAnnotationQueues.java @@ -0,0 +1,25 @@ +// List LLM Observability annotation queues returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.LlmObservabilityApi; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueuesResponse; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.listLLMObsAnnotationQueues", true); + LlmObservabilityApi apiInstance = new LlmObservabilityApi(defaultClient); + + try { + LLMObsAnnotationQueuesResponse result = apiInstance.listLLMObsAnnotationQueues(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling LlmObservabilityApi#listLLMObsAnnotationQueues"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/llm-observability/UpdateLLMObsAnnotationQueue.java b/examples/v2/llm-observability/UpdateLLMObsAnnotationQueue.java new file mode 100644 index 00000000000..dc73e9f8df9 --- /dev/null +++ b/examples/v2/llm-observability/UpdateLLMObsAnnotationQueue.java @@ -0,0 +1,40 @@ +// Update an LLM Observability annotation queue returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.LlmObservabilityApi; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueResponse; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueType; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueUpdateDataAttributesRequest; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueUpdateDataRequest; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueUpdateRequest; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.updateLLMObsAnnotationQueue", true); + LlmObservabilityApi apiInstance = new LlmObservabilityApi(defaultClient); + + LLMObsAnnotationQueueUpdateRequest body = + new LLMObsAnnotationQueueUpdateRequest() + .data( + new LLMObsAnnotationQueueUpdateDataRequest() + .attributes( + new LLMObsAnnotationQueueUpdateDataAttributesRequest() + .description("Updated description") + .name("Updated queue name")) + .type(LLMObsAnnotationQueueType.QUEUES)); + + try { + LLMObsAnnotationQueueResponse result = + apiInstance.updateLLMObsAnnotationQueue("b5e7f3a1-9c2d-4f8b-a1e6-3d7e9f0a2b4c", body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling LlmObservabilityApi#updateLLMObsAnnotationQueue"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/src/main/java/com/datadog/api/client/ApiClient.java b/src/main/java/com/datadog/api/client/ApiClient.java index bda6d2c704e..5effe4c2a03 100644 --- a/src/main/java/com/datadog/api/client/ApiClient.java +++ b/src/main/java/com/datadog/api/client/ApiClient.java @@ -903,19 +903,26 @@ public class ApiClient { put("v2.updateJiraIssueTemplate", false); put("v2.createTenancyConfig", false); put("v2.getTenancyConfigs", false); + put("v2.createLLMObsAnnotationQueue", false); + put("v2.createLLMObsAnnotationQueueInteractions", false); put("v2.createLLMObsDataset", false); put("v2.createLLMObsDatasetRecords", false); put("v2.createLLMObsExperiment", false); put("v2.createLLMObsExperimentEvents", false); put("v2.createLLMObsProject", false); + put("v2.deleteLLMObsAnnotationQueue", false); + put("v2.deleteLLMObsAnnotationQueueInteractions", false); put("v2.deleteLLMObsDatasetRecords", false); put("v2.deleteLLMObsDatasets", false); put("v2.deleteLLMObsExperiments", false); put("v2.deleteLLMObsProjects", false); + put("v2.getLLMObsAnnotatedInteractions", false); + put("v2.listLLMObsAnnotationQueues", false); put("v2.listLLMObsDatasetRecords", false); put("v2.listLLMObsDatasets", false); put("v2.listLLMObsExperiments", false); put("v2.listLLMObsProjects", false); + put("v2.updateLLMObsAnnotationQueue", false); put("v2.updateLLMObsDataset", false); put("v2.updateLLMObsDatasetRecords", false); put("v2.updateLLMObsExperiment", false); 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 6ddbba16182..bb68a7108d6 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 @@ -4,6 +4,13 @@ import com.datadog.api.client.ApiException; import com.datadog.api.client.ApiResponse; import com.datadog.api.client.Pair; +import com.datadog.api.client.v2.model.LLMObsAnnotatedInteractionsResponse; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueInteractionsRequest; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueInteractionsResponse; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueRequest; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueResponse; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueueUpdateRequest; +import com.datadog.api.client.v2.model.LLMObsAnnotationQueuesResponse; import com.datadog.api.client.v2.model.LLMObsDatasetRecordsListResponse; import com.datadog.api.client.v2.model.LLMObsDatasetRecordsMutationResponse; import com.datadog.api.client.v2.model.LLMObsDatasetRecordsRequest; @@ -12,6 +19,7 @@ import com.datadog.api.client.v2.model.LLMObsDatasetResponse; import com.datadog.api.client.v2.model.LLMObsDatasetUpdateRequest; import com.datadog.api.client.v2.model.LLMObsDatasetsResponse; +import com.datadog.api.client.v2.model.LLMObsDeleteAnnotationQueueInteractionsRequest; import com.datadog.api.client.v2.model.LLMObsDeleteDatasetRecordsRequest; import com.datadog.api.client.v2.model.LLMObsDeleteDatasetsRequest; import com.datadog.api.client.v2.model.LLMObsDeleteExperimentsRequest; @@ -64,6 +72,355 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } + /** + * Create an LLM Observability annotation queue. + * + *

See {@link #createLLMObsAnnotationQueueWithHttpInfo}. + * + * @param body Create annotation queue payload. (required) + * @return LLMObsAnnotationQueueResponse + * @throws ApiException if fails to make API call + */ + public LLMObsAnnotationQueueResponse createLLMObsAnnotationQueue( + LLMObsAnnotationQueueRequest body) throws ApiException { + return createLLMObsAnnotationQueueWithHttpInfo(body).getData(); + } + + /** + * Create an LLM Observability annotation queue. + * + *

See {@link #createLLMObsAnnotationQueueWithHttpInfoAsync}. + * + * @param body Create annotation queue payload. (required) + * @return CompletableFuture<LLMObsAnnotationQueueResponse> + */ + public CompletableFuture createLLMObsAnnotationQueueAsync( + LLMObsAnnotationQueueRequest body) { + return createLLMObsAnnotationQueueWithHttpInfoAsync(body) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Create a new annotation queue. Only name, project_id, and + * description are accepted. 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> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + * + * + * + *
Response details
Status Code Description Response Headers
201 Created -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
429 Too many requests -
+ */ + public ApiResponse createLLMObsAnnotationQueueWithHttpInfo( + LLMObsAnnotationQueueRequest body) throws ApiException { + // Check if unstable operation is enabled + String operationId = "createLLMObsAnnotationQueue"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = body; + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException( + 400, "Missing the required parameter 'body' when calling createLLMObsAnnotationQueue"); + } + // create path and map variables + String localVarPath = "/api/v2/llm-obs/v1/annotation-queues"; + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.createLLMObsAnnotationQueue", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Create an LLM Observability annotation queue. + * + *

See {@link #createLLMObsAnnotationQueueWithHttpInfo}. + * + * @param body Create annotation queue payload. (required) + * @return CompletableFuture<ApiResponse<LLMObsAnnotationQueueResponse>> + */ + public CompletableFuture> + createLLMObsAnnotationQueueWithHttpInfoAsync(LLMObsAnnotationQueueRequest body) { + // Check if unstable operation is enabled + String operationId = "createLLMObsAnnotationQueue"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = body; + + // verify the required parameter 'body' is set + if (body == null) { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'body' when calling createLLMObsAnnotationQueue")); + return result; + } + // create path and map variables + String localVarPath = "/api/v2/llm-obs/v1/annotation-queues"; + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.createLLMObsAnnotationQueue", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Add annotation queue interactions. + * + *

See {@link #createLLMObsAnnotationQueueInteractionsWithHttpInfo}. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Add interactions payload. (required) + * @return LLMObsAnnotationQueueInteractionsResponse + * @throws ApiException if fails to make API call + */ + public LLMObsAnnotationQueueInteractionsResponse createLLMObsAnnotationQueueInteractions( + String queueId, LLMObsAnnotationQueueInteractionsRequest body) throws ApiException { + return createLLMObsAnnotationQueueInteractionsWithHttpInfo(queueId, body).getData(); + } + + /** + * Add annotation queue interactions. + * + *

See {@link #createLLMObsAnnotationQueueInteractionsWithHttpInfoAsync}. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Add interactions payload. (required) + * @return CompletableFuture<LLMObsAnnotationQueueInteractionsResponse> + */ + public CompletableFuture + createLLMObsAnnotationQueueInteractionsAsync( + String queueId, LLMObsAnnotationQueueInteractionsRequest body) { + return createLLMObsAnnotationQueueInteractionsWithHttpInfoAsync(queueId, body) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Add one or more interactions (traces) to an annotation queue. At least one interaction must be + * provided. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Add interactions payload. (required) + * @return ApiResponse<LLMObsAnnotationQueueInteractionsResponse> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + * + * + * + * + *
Response details
Status Code Description Response Headers
201 Created -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
429 Too many requests -
+ */ + public ApiResponse + createLLMObsAnnotationQueueInteractionsWithHttpInfo( + String queueId, LLMObsAnnotationQueueInteractionsRequest body) throws ApiException { + // Check if unstable operation is enabled + String operationId = "createLLMObsAnnotationQueueInteractions"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = body; + + // verify the required parameter 'queueId' is set + if (queueId == null) { + throw new ApiException( + 400, + "Missing the required parameter 'queueId' when calling" + + " createLLMObsAnnotationQueueInteractions"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException( + 400, + "Missing the required parameter 'body' when calling" + + " createLLMObsAnnotationQueueInteractions"); + } + // create path and map variables + String localVarPath = + "/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions" + .replaceAll("\\{" + "queue_id" + "\\}", apiClient.escapeString(queueId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.createLLMObsAnnotationQueueInteractions", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Add annotation queue interactions. + * + *

See {@link #createLLMObsAnnotationQueueInteractionsWithHttpInfo}. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Add interactions payload. (required) + * @return CompletableFuture<ApiResponse<LLMObsAnnotationQueueInteractionsResponse>> + */ + public CompletableFuture> + createLLMObsAnnotationQueueInteractionsWithHttpInfoAsync( + String queueId, LLMObsAnnotationQueueInteractionsRequest body) { + // Check if unstable operation is enabled + String operationId = "createLLMObsAnnotationQueueInteractions"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = body; + + // verify the required parameter 'queueId' is set + if (queueId == null) { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'queueId' when calling" + + " createLLMObsAnnotationQueueInteractions")); + return result; + } + + // verify the required parameter 'body' is set + if (body == null) { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'body' when calling" + + " createLLMObsAnnotationQueueInteractions")); + return result; + } + // create path and map variables + String localVarPath = + "/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions" + .replaceAll("\\{" + "queue_id" + "\\}", apiClient.escapeString(queueId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.createLLMObsAnnotationQueueInteractions", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + /** * Create an LLM Observability dataset. * @@ -935,34 +1292,27 @@ public CompletableFuture> createLLMObsProject } /** - * Delete LLM Observability dataset records. + * Delete an LLM Observability annotation queue. * - *

See {@link #deleteLLMObsDatasetRecordsWithHttpInfo}. + *

See {@link #deleteLLMObsAnnotationQueueWithHttpInfo}. * - * @param projectId The ID of the LLM Observability project. (required) - * @param datasetId The ID of the LLM Observability dataset. (required) - * @param body Delete records payload. (required) + * @param queueId The ID of the LLM Observability annotation queue. (required) * @throws ApiException if fails to make API call */ - public void deleteLLMObsDatasetRecords( - String projectId, String datasetId, LLMObsDeleteDatasetRecordsRequest body) - throws ApiException { - deleteLLMObsDatasetRecordsWithHttpInfo(projectId, datasetId, body); + public void deleteLLMObsAnnotationQueue(String queueId) throws ApiException { + deleteLLMObsAnnotationQueueWithHttpInfo(queueId); } /** - * Delete LLM Observability dataset records. + * Delete an LLM Observability annotation queue. * - *

See {@link #deleteLLMObsDatasetRecordsWithHttpInfoAsync}. + *

See {@link #deleteLLMObsAnnotationQueueWithHttpInfoAsync}. * - * @param projectId The ID of the LLM Observability project. (required) - * @param datasetId The ID of the LLM Observability dataset. (required) - * @param body Delete records payload. (required) + * @param queueId The ID of the LLM Observability annotation queue. (required) * @return CompletableFuture */ - public CompletableFuture deleteLLMObsDatasetRecordsAsync( - String projectId, String datasetId, LLMObsDeleteDatasetRecordsRequest body) { - return deleteLLMObsDatasetRecordsWithHttpInfoAsync(projectId, datasetId, body) + public CompletableFuture deleteLLMObsAnnotationQueueAsync(String queueId) { + return deleteLLMObsAnnotationQueueWithHttpInfoAsync(queueId) .thenApply( response -> { return response.getData(); @@ -970,11 +1320,9 @@ public CompletableFuture deleteLLMObsDatasetRecordsAsync( } /** - * Delete one or more records from an LLM Observability dataset. + * Delete an annotation queue by its ID. * - * @param projectId The ID of the LLM Observability project. (required) - * @param datasetId The ID of the LLM Observability dataset. (required) - * @param body Delete records payload. (required) + * @param queueId The ID of the LLM Observability annotation queue. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details @@ -982,55 +1330,38 @@ public CompletableFuture deleteLLMObsDatasetRecordsAsync( * Response details * Status Code Description Response Headers * 204 No Content - - * 400 Bad Request - * 401 Unauthorized - * 403 Forbidden - * 404 Not Found - * 429 Too many requests - * */ - public ApiResponse deleteLLMObsDatasetRecordsWithHttpInfo( - String projectId, String datasetId, LLMObsDeleteDatasetRecordsRequest body) + public ApiResponse deleteLLMObsAnnotationQueueWithHttpInfo(String queueId) throws ApiException { // Check if unstable operation is enabled - String operationId = "deleteLLMObsDatasetRecords"; + String operationId = "deleteLLMObsAnnotationQueue"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); } - Object localVarPostBody = body; - - // verify the required parameter 'projectId' is set - if (projectId == null) { - throw new ApiException( - 400, - "Missing the required parameter 'projectId' when calling deleteLLMObsDatasetRecords"); - } - - // verify the required parameter 'datasetId' is set - if (datasetId == null) { - throw new ApiException( - 400, - "Missing the required parameter 'datasetId' when calling deleteLLMObsDatasetRecords"); - } + Object localVarPostBody = null; - // verify the required parameter 'body' is set - if (body == null) { + // verify the required parameter 'queueId' is set + if (queueId == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling deleteLLMObsDatasetRecords"); + 400, "Missing the required parameter 'queueId' when calling deleteLLMObsAnnotationQueue"); } // create path and map variables String localVarPath = - "/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/records/delete" - .replaceAll("\\{" + "project_id" + "\\}", apiClient.escapeString(projectId.toString())) - .replaceAll("\\{" + "dataset_id" + "\\}", apiClient.escapeString(datasetId.toString())); + "/api/v2/llm-obs/v1/annotation-queues/{queue_id}" + .replaceAll("\\{" + "queue_id" + "\\}", apiClient.escapeString(queueId.toString())); Map localVarHeaderParams = new HashMap(); Invocation.Builder builder = apiClient.createBuilder( - "v2.LlmObservabilityApi.deleteLLMObsDatasetRecords", + "v2.LlmObservabilityApi.deleteLLMObsAnnotationQueue", localVarPath, new ArrayList(), localVarHeaderParams, @@ -1038,10 +1369,10 @@ public ApiResponse deleteLLMObsDatasetRecordsWithHttpInfo( new String[] {"*/*"}, new String[] {"apiKeyAuth", "appKeyAuth"}); return apiClient.invokeAPI( - "POST", + "DELETE", builder, localVarHeaderParams, - new String[] {"application/json"}, + new String[] {}, localVarPostBody, new HashMap(), false, @@ -1049,19 +1380,17 @@ public ApiResponse deleteLLMObsDatasetRecordsWithHttpInfo( } /** - * Delete LLM Observability dataset records. + * Delete an LLM Observability annotation queue. * - *

See {@link #deleteLLMObsDatasetRecordsWithHttpInfo}. + *

See {@link #deleteLLMObsAnnotationQueueWithHttpInfo}. * - * @param projectId The ID of the LLM Observability project. (required) - * @param datasetId The ID of the LLM Observability dataset. (required) - * @param body Delete records payload. (required) + * @param queueId The ID of the LLM Observability annotation queue. (required) * @return CompletableFuture<ApiResponse<Void>> */ - public CompletableFuture> deleteLLMObsDatasetRecordsWithHttpInfoAsync( - String projectId, String datasetId, LLMObsDeleteDatasetRecordsRequest body) { + public CompletableFuture> deleteLLMObsAnnotationQueueWithHttpInfoAsync( + String queueId) { // Check if unstable operation is enabled - String operationId = "deleteLLMObsDatasetRecords"; + String operationId = "deleteLLMObsAnnotationQueue"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { @@ -1070,44 +1399,21 @@ public CompletableFuture> deleteLLMObsDatasetRecordsWithHttpIn new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); return result; } - Object localVarPostBody = body; - - // verify the required parameter 'projectId' is set - if (projectId == null) { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException( - 400, - "Missing the required parameter 'projectId' when calling" - + " deleteLLMObsDatasetRecords")); - return result; - } - - // verify the required parameter 'datasetId' is set - if (datasetId == null) { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException( - 400, - "Missing the required parameter 'datasetId' when calling" - + " deleteLLMObsDatasetRecords")); - return result; - } + Object localVarPostBody = null; - // verify the required parameter 'body' is set - if (body == null) { + // verify the required parameter 'queueId' is set + if (queueId == null) { CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, - "Missing the required parameter 'body' when calling deleteLLMObsDatasetRecords")); + "Missing the required parameter 'queueId' when calling deleteLLMObsAnnotationQueue")); return result; } // create path and map variables String localVarPath = - "/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/records/delete" - .replaceAll("\\{" + "project_id" + "\\}", apiClient.escapeString(projectId.toString())) - .replaceAll("\\{" + "dataset_id" + "\\}", apiClient.escapeString(datasetId.toString())); + "/api/v2/llm-obs/v1/annotation-queues/{queue_id}" + .replaceAll("\\{" + "queue_id" + "\\}", apiClient.escapeString(queueId.toString())); Map localVarHeaderParams = new HashMap(); @@ -1115,7 +1421,7 @@ public CompletableFuture> deleteLLMObsDatasetRecordsWithHttpIn try { builder = apiClient.createBuilder( - "v2.LlmObservabilityApi.deleteLLMObsDatasetRecords", + "v2.LlmObservabilityApi.deleteLLMObsAnnotationQueue", localVarPath, new ArrayList(), localVarHeaderParams, @@ -1128,10 +1434,10 @@ public CompletableFuture> deleteLLMObsDatasetRecordsWithHttpIn return result; } return apiClient.invokeAPIAsync( - "POST", + "DELETE", builder, localVarHeaderParams, - new String[] {"application/json"}, + new String[] {}, localVarPostBody, new HashMap(), false, @@ -1139,31 +1445,31 @@ public CompletableFuture> deleteLLMObsDatasetRecordsWithHttpIn } /** - * Delete LLM Observability datasets. + * Delete annotation queue interactions. * - *

See {@link #deleteLLMObsDatasetsWithHttpInfo}. + *

See {@link #deleteLLMObsAnnotationQueueInteractionsWithHttpInfo}. * - * @param projectId The ID of the LLM Observability project. (required) - * @param body Delete datasets payload. (required) + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Delete interactions payload. (required) * @throws ApiException if fails to make API call */ - public void deleteLLMObsDatasets(String projectId, LLMObsDeleteDatasetsRequest body) - throws ApiException { - deleteLLMObsDatasetsWithHttpInfo(projectId, body); + public void deleteLLMObsAnnotationQueueInteractions( + String queueId, LLMObsDeleteAnnotationQueueInteractionsRequest body) throws ApiException { + deleteLLMObsAnnotationQueueInteractionsWithHttpInfo(queueId, body); } /** - * Delete LLM Observability datasets. + * Delete annotation queue interactions. * - *

See {@link #deleteLLMObsDatasetsWithHttpInfoAsync}. + *

See {@link #deleteLLMObsAnnotationQueueInteractionsWithHttpInfoAsync}. * - * @param projectId The ID of the LLM Observability project. (required) - * @param body Delete datasets payload. (required) + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Delete interactions payload. (required) * @return CompletableFuture */ - public CompletableFuture deleteLLMObsDatasetsAsync( - String projectId, LLMObsDeleteDatasetsRequest body) { - return deleteLLMObsDatasetsWithHttpInfoAsync(projectId, body) + public CompletableFuture deleteLLMObsAnnotationQueueInteractionsAsync( + String queueId, LLMObsDeleteAnnotationQueueInteractionsRequest body) { + return deleteLLMObsAnnotationQueueInteractionsWithHttpInfoAsync(queueId, body) .thenApply( response -> { return response.getData(); @@ -1171,10 +1477,10 @@ public CompletableFuture deleteLLMObsDatasetsAsync( } /** - * Delete one or more LLM Observability datasets within the specified project. + * Delete one or more interactions from an annotation queue. * - * @param projectId The ID of the LLM Observability project. (required) - * @param body Delete datasets payload. (required) + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Delete interactions payload. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details @@ -1189,10 +1495,10 @@ public CompletableFuture deleteLLMObsDatasetsAsync( * 429 Too many requests - * */ - public ApiResponse deleteLLMObsDatasetsWithHttpInfo( - String projectId, LLMObsDeleteDatasetsRequest body) throws ApiException { + public ApiResponse deleteLLMObsAnnotationQueueInteractionsWithHttpInfo( + String queueId, LLMObsDeleteAnnotationQueueInteractionsRequest body) throws ApiException { // Check if unstable operation is enabled - String operationId = "deleteLLMObsDatasets"; + String operationId = "deleteLLMObsAnnotationQueueInteractions"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { @@ -1200,27 +1506,31 @@ public ApiResponse deleteLLMObsDatasetsWithHttpInfo( } Object localVarPostBody = body; - // verify the required parameter 'projectId' is set - if (projectId == null) { + // verify the required parameter 'queueId' is set + if (queueId == null) { throw new ApiException( - 400, "Missing the required parameter 'projectId' when calling deleteLLMObsDatasets"); + 400, + "Missing the required parameter 'queueId' when calling" + + " deleteLLMObsAnnotationQueueInteractions"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling deleteLLMObsDatasets"); + 400, + "Missing the required parameter 'body' when calling" + + " deleteLLMObsAnnotationQueueInteractions"); } // create path and map variables String localVarPath = - "/api/v2/llm-obs/v1/{project_id}/datasets/delete" - .replaceAll("\\{" + "project_id" + "\\}", apiClient.escapeString(projectId.toString())); + "/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions/delete" + .replaceAll("\\{" + "queue_id" + "\\}", apiClient.escapeString(queueId.toString())); Map localVarHeaderParams = new HashMap(); Invocation.Builder builder = apiClient.createBuilder( - "v2.LlmObservabilityApi.deleteLLMObsDatasets", + "v2.LlmObservabilityApi.deleteLLMObsAnnotationQueueInteractions", localVarPath, new ArrayList(), localVarHeaderParams, @@ -1239,18 +1549,19 @@ public ApiResponse deleteLLMObsDatasetsWithHttpInfo( } /** - * Delete LLM Observability datasets. + * Delete annotation queue interactions. * - *

See {@link #deleteLLMObsDatasetsWithHttpInfo}. + *

See {@link #deleteLLMObsAnnotationQueueInteractionsWithHttpInfo}. * - * @param projectId The ID of the LLM Observability project. (required) - * @param body Delete datasets payload. (required) + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Delete interactions payload. (required) * @return CompletableFuture<ApiResponse<Void>> */ - public CompletableFuture> deleteLLMObsDatasetsWithHttpInfoAsync( - String projectId, LLMObsDeleteDatasetsRequest body) { + public CompletableFuture> + deleteLLMObsAnnotationQueueInteractionsWithHttpInfoAsync( + String queueId, LLMObsDeleteAnnotationQueueInteractionsRequest body) { // Check if unstable operation is enabled - String operationId = "deleteLLMObsDatasets"; + String operationId = "deleteLLMObsAnnotationQueueInteractions"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { @@ -1261,12 +1572,14 @@ public CompletableFuture> deleteLLMObsDatasetsWithHttpInfoAsyn } Object localVarPostBody = body; - // verify the required parameter 'projectId' is set - if (projectId == null) { + // verify the required parameter 'queueId' is set + if (queueId == null) { CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'projectId' when calling deleteLLMObsDatasets")); + 400, + "Missing the required parameter 'queueId' when calling" + + " deleteLLMObsAnnotationQueueInteractions")); return result; } @@ -1275,13 +1588,15 @@ public CompletableFuture> deleteLLMObsDatasetsWithHttpInfoAsyn CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'body' when calling deleteLLMObsDatasets")); + 400, + "Missing the required parameter 'body' when calling" + + " deleteLLMObsAnnotationQueueInteractions")); return result; } // create path and map variables String localVarPath = - "/api/v2/llm-obs/v1/{project_id}/datasets/delete" - .replaceAll("\\{" + "project_id" + "\\}", apiClient.escapeString(projectId.toString())); + "/api/v2/llm-obs/v1/annotation-queues/{queue_id}/interactions/delete" + .replaceAll("\\{" + "queue_id" + "\\}", apiClient.escapeString(queueId.toString())); Map localVarHeaderParams = new HashMap(); @@ -1289,7 +1604,7 @@ public CompletableFuture> deleteLLMObsDatasetsWithHttpInfoAsyn try { builder = apiClient.createBuilder( - "v2.LlmObservabilityApi.deleteLLMObsDatasets", + "v2.LlmObservabilityApi.deleteLLMObsAnnotationQueueInteractions", localVarPath, new ArrayList(), localVarHeaderParams, @@ -1313,27 +1628,34 @@ public CompletableFuture> deleteLLMObsDatasetsWithHttpInfoAsyn } /** - * Delete LLM Observability experiments. + * Delete LLM Observability dataset records. * - *

See {@link #deleteLLMObsExperimentsWithHttpInfo}. + *

See {@link #deleteLLMObsDatasetRecordsWithHttpInfo}. * - * @param body Delete experiments payload. (required) + * @param projectId The ID of the LLM Observability project. (required) + * @param datasetId The ID of the LLM Observability dataset. (required) + * @param body Delete records payload. (required) * @throws ApiException if fails to make API call */ - public void deleteLLMObsExperiments(LLMObsDeleteExperimentsRequest body) throws ApiException { - deleteLLMObsExperimentsWithHttpInfo(body); + public void deleteLLMObsDatasetRecords( + String projectId, String datasetId, LLMObsDeleteDatasetRecordsRequest body) + throws ApiException { + deleteLLMObsDatasetRecordsWithHttpInfo(projectId, datasetId, body); } /** - * Delete LLM Observability experiments. + * Delete LLM Observability dataset records. * - *

See {@link #deleteLLMObsExperimentsWithHttpInfoAsync}. + *

See {@link #deleteLLMObsDatasetRecordsWithHttpInfoAsync}. * - * @param body Delete experiments payload. (required) + * @param projectId The ID of the LLM Observability project. (required) + * @param datasetId The ID of the LLM Observability dataset. (required) + * @param body Delete records payload. (required) * @return CompletableFuture */ - public CompletableFuture deleteLLMObsExperimentsAsync(LLMObsDeleteExperimentsRequest body) { - return deleteLLMObsExperimentsWithHttpInfoAsync(body) + public CompletableFuture deleteLLMObsDatasetRecordsAsync( + String projectId, String datasetId, LLMObsDeleteDatasetRecordsRequest body) { + return deleteLLMObsDatasetRecordsWithHttpInfoAsync(projectId, datasetId, body) .thenApply( response -> { return response.getData(); @@ -1341,9 +1663,11 @@ public CompletableFuture deleteLLMObsExperimentsAsync(LLMObsDeleteExperime } /** - * Delete one or more LLM Observability experiments. + * Delete one or more records from an LLM Observability dataset. * - * @param body Delete experiments payload. (required) + * @param projectId The ID of the LLM Observability project. (required) + * @param datasetId The ID of the LLM Observability dataset. (required) + * @param body Delete records payload. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details @@ -1354,13 +1678,15 @@ public CompletableFuture deleteLLMObsExperimentsAsync(LLMObsDeleteExperime * 400 Bad Request - * 401 Unauthorized - * 403 Forbidden - + * 404 Not Found - * 429 Too many requests - * */ - public ApiResponse deleteLLMObsExperimentsWithHttpInfo(LLMObsDeleteExperimentsRequest body) + public ApiResponse deleteLLMObsDatasetRecordsWithHttpInfo( + String projectId, String datasetId, LLMObsDeleteDatasetRecordsRequest body) throws ApiException { // Check if unstable operation is enabled - String operationId = "deleteLLMObsExperiments"; + String operationId = "deleteLLMObsDatasetRecords"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { @@ -1368,19 +1694,36 @@ public ApiResponse deleteLLMObsExperimentsWithHttpInfo(LLMObsDeleteExperim } Object localVarPostBody = body; + // verify the required parameter 'projectId' is set + if (projectId == null) { + throw new ApiException( + 400, + "Missing the required parameter 'projectId' when calling deleteLLMObsDatasetRecords"); + } + + // verify the required parameter 'datasetId' is set + if (datasetId == null) { + throw new ApiException( + 400, + "Missing the required parameter 'datasetId' when calling deleteLLMObsDatasetRecords"); + } + // verify the required parameter 'body' is set if (body == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling deleteLLMObsExperiments"); + 400, "Missing the required parameter 'body' when calling deleteLLMObsDatasetRecords"); } // create path and map variables - String localVarPath = "/api/v2/llm-obs/v1/experiments/delete"; + String localVarPath = + "/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/records/delete" + .replaceAll("\\{" + "project_id" + "\\}", apiClient.escapeString(projectId.toString())) + .replaceAll("\\{" + "dataset_id" + "\\}", apiClient.escapeString(datasetId.toString())); Map localVarHeaderParams = new HashMap(); Invocation.Builder builder = apiClient.createBuilder( - "v2.LlmObservabilityApi.deleteLLMObsExperiments", + "v2.LlmObservabilityApi.deleteLLMObsDatasetRecords", localVarPath, new ArrayList(), localVarHeaderParams, @@ -1399,17 +1742,19 @@ public ApiResponse deleteLLMObsExperimentsWithHttpInfo(LLMObsDeleteExperim } /** - * Delete LLM Observability experiments. + * Delete LLM Observability dataset records. * - *

See {@link #deleteLLMObsExperimentsWithHttpInfo}. + *

See {@link #deleteLLMObsDatasetRecordsWithHttpInfo}. * - * @param body Delete experiments payload. (required) + * @param projectId The ID of the LLM Observability project. (required) + * @param datasetId The ID of the LLM Observability dataset. (required) + * @param body Delete records payload. (required) * @return CompletableFuture<ApiResponse<Void>> */ - public CompletableFuture> deleteLLMObsExperimentsWithHttpInfoAsync( - LLMObsDeleteExperimentsRequest body) { + public CompletableFuture> deleteLLMObsDatasetRecordsWithHttpInfoAsync( + String projectId, String datasetId, LLMObsDeleteDatasetRecordsRequest body) { // Check if unstable operation is enabled - String operationId = "deleteLLMObsExperiments"; + String operationId = "deleteLLMObsDatasetRecords"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { @@ -1420,16 +1765,673 @@ public CompletableFuture> deleteLLMObsExperimentsWithHttpInfoA } Object localVarPostBody = body; + // verify the required parameter 'projectId' is set + if (projectId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'projectId' when calling" + + " deleteLLMObsDatasetRecords")); + return result; + } + + // verify the required parameter 'datasetId' is set + if (datasetId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'datasetId' when calling" + + " deleteLLMObsDatasetRecords")); + return result; + } + // verify the required parameter 'body' is set if (body == null) { CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'body' when calling deleteLLMObsExperiments")); + 400, + "Missing the required parameter 'body' when calling deleteLLMObsDatasetRecords")); + return result; + } + // create path and map variables + String localVarPath = + "/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/records/delete" + .replaceAll("\\{" + "project_id" + "\\}", apiClient.escapeString(projectId.toString())) + .replaceAll("\\{" + "dataset_id" + "\\}", apiClient.escapeString(datasetId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.deleteLLMObsDatasetRecords", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"*/*"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + null); + } + + /** + * Delete LLM Observability datasets. + * + *

See {@link #deleteLLMObsDatasetsWithHttpInfo}. + * + * @param projectId The ID of the LLM Observability project. (required) + * @param body Delete datasets payload. (required) + * @throws ApiException if fails to make API call + */ + public void deleteLLMObsDatasets(String projectId, LLMObsDeleteDatasetsRequest body) + throws ApiException { + deleteLLMObsDatasetsWithHttpInfo(projectId, body); + } + + /** + * Delete LLM Observability datasets. + * + *

See {@link #deleteLLMObsDatasetsWithHttpInfoAsync}. + * + * @param projectId The ID of the LLM Observability project. (required) + * @param body Delete datasets payload. (required) + * @return CompletableFuture + */ + public CompletableFuture deleteLLMObsDatasetsAsync( + String projectId, LLMObsDeleteDatasetsRequest body) { + return deleteLLMObsDatasetsWithHttpInfoAsync(projectId, body) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Delete one or more LLM Observability datasets within the specified project. + * + * @param projectId The ID of the LLM Observability project. (required) + * @param body Delete datasets payload. (required) + * @return ApiResponse<Void> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + * + * + * + * + *
Response details
Status Code Description Response Headers
204 No Content -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
429 Too many requests -
+ */ + public ApiResponse deleteLLMObsDatasetsWithHttpInfo( + String projectId, LLMObsDeleteDatasetsRequest body) throws ApiException { + // Check if unstable operation is enabled + String operationId = "deleteLLMObsDatasets"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = body; + + // verify the required parameter 'projectId' is set + if (projectId == null) { + throw new ApiException( + 400, "Missing the required parameter 'projectId' when calling deleteLLMObsDatasets"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException( + 400, "Missing the required parameter 'body' when calling deleteLLMObsDatasets"); + } + // create path and map variables + String localVarPath = + "/api/v2/llm-obs/v1/{project_id}/datasets/delete" + .replaceAll("\\{" + "project_id" + "\\}", apiClient.escapeString(projectId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.deleteLLMObsDatasets", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"*/*"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + null); + } + + /** + * Delete LLM Observability datasets. + * + *

See {@link #deleteLLMObsDatasetsWithHttpInfo}. + * + * @param projectId The ID of the LLM Observability project. (required) + * @param body Delete datasets payload. (required) + * @return CompletableFuture<ApiResponse<Void>> + */ + public CompletableFuture> deleteLLMObsDatasetsWithHttpInfoAsync( + String projectId, LLMObsDeleteDatasetsRequest body) { + // Check if unstable operation is enabled + String operationId = "deleteLLMObsDatasets"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = body; + + // verify the required parameter 'projectId' is set + if (projectId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'projectId' when calling deleteLLMObsDatasets")); + return result; + } + + // verify the required parameter 'body' is set + if (body == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'body' when calling deleteLLMObsDatasets")); + return result; + } + // create path and map variables + String localVarPath = + "/api/v2/llm-obs/v1/{project_id}/datasets/delete" + .replaceAll("\\{" + "project_id" + "\\}", apiClient.escapeString(projectId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.deleteLLMObsDatasets", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"*/*"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + null); + } + + /** + * Delete LLM Observability experiments. + * + *

See {@link #deleteLLMObsExperimentsWithHttpInfo}. + * + * @param body Delete experiments payload. (required) + * @throws ApiException if fails to make API call + */ + public void deleteLLMObsExperiments(LLMObsDeleteExperimentsRequest body) throws ApiException { + deleteLLMObsExperimentsWithHttpInfo(body); + } + + /** + * Delete LLM Observability experiments. + * + *

See {@link #deleteLLMObsExperimentsWithHttpInfoAsync}. + * + * @param body Delete experiments payload. (required) + * @return CompletableFuture + */ + public CompletableFuture deleteLLMObsExperimentsAsync(LLMObsDeleteExperimentsRequest body) { + return deleteLLMObsExperimentsWithHttpInfoAsync(body) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Delete one or more LLM Observability experiments. + * + * @param body Delete experiments payload. (required) + * @return ApiResponse<Void> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + * + * + * + *
Response details
Status Code Description Response Headers
204 No Content -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
429 Too many requests -
+ */ + public ApiResponse deleteLLMObsExperimentsWithHttpInfo(LLMObsDeleteExperimentsRequest body) + throws ApiException { + // Check if unstable operation is enabled + String operationId = "deleteLLMObsExperiments"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = body; + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException( + 400, "Missing the required parameter 'body' when calling deleteLLMObsExperiments"); + } + // create path and map variables + String localVarPath = "/api/v2/llm-obs/v1/experiments/delete"; + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.deleteLLMObsExperiments", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"*/*"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + null); + } + + /** + * Delete LLM Observability experiments. + * + *

See {@link #deleteLLMObsExperimentsWithHttpInfo}. + * + * @param body Delete experiments payload. (required) + * @return CompletableFuture<ApiResponse<Void>> + */ + public CompletableFuture> deleteLLMObsExperimentsWithHttpInfoAsync( + LLMObsDeleteExperimentsRequest body) { + // Check if unstable operation is enabled + String operationId = "deleteLLMObsExperiments"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = body; + + // verify the required parameter 'body' is set + if (body == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'body' when calling deleteLLMObsExperiments")); + return result; + } + // create path and map variables + String localVarPath = "/api/v2/llm-obs/v1/experiments/delete"; + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.deleteLLMObsExperiments", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"*/*"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + null); + } + + /** + * Delete LLM Observability projects. + * + *

See {@link #deleteLLMObsProjectsWithHttpInfo}. + * + * @param body Delete projects payload. (required) + * @throws ApiException if fails to make API call + */ + public void deleteLLMObsProjects(LLMObsDeleteProjectsRequest body) throws ApiException { + deleteLLMObsProjectsWithHttpInfo(body); + } + + /** + * Delete LLM Observability projects. + * + *

See {@link #deleteLLMObsProjectsWithHttpInfoAsync}. + * + * @param body Delete projects payload. (required) + * @return CompletableFuture + */ + public CompletableFuture deleteLLMObsProjectsAsync(LLMObsDeleteProjectsRequest body) { + return deleteLLMObsProjectsWithHttpInfoAsync(body) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Delete one or more LLM Observability projects. + * + * @param body Delete projects payload. (required) + * @return ApiResponse<Void> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + * + * + * + *
Response details
Status Code Description Response Headers
204 No Content -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
429 Too many requests -
+ */ + public ApiResponse deleteLLMObsProjectsWithHttpInfo(LLMObsDeleteProjectsRequest body) + throws ApiException { + // Check if unstable operation is enabled + String operationId = "deleteLLMObsProjects"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = body; + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException( + 400, "Missing the required parameter 'body' when calling deleteLLMObsProjects"); + } + // create path and map variables + String localVarPath = "/api/v2/llm-obs/v1/projects/delete"; + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.deleteLLMObsProjects", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"*/*"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + null); + } + + /** + * Delete LLM Observability projects. + * + *

See {@link #deleteLLMObsProjectsWithHttpInfo}. + * + * @param body Delete projects payload. (required) + * @return CompletableFuture<ApiResponse<Void>> + */ + public CompletableFuture> deleteLLMObsProjectsWithHttpInfoAsync( + LLMObsDeleteProjectsRequest body) { + // Check if unstable operation is enabled + String operationId = "deleteLLMObsProjects"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = body; + + // verify the required parameter 'body' is set + if (body == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'body' when calling deleteLLMObsProjects")); + return result; + } + // create path and map variables + String localVarPath = "/api/v2/llm-obs/v1/projects/delete"; + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.deleteLLMObsProjects", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"*/*"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + null); + } + + /** + * Get annotated queue interactions. + * + *

See {@link #getLLMObsAnnotatedInteractionsWithHttpInfo}. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @return LLMObsAnnotatedInteractionsResponse + * @throws ApiException if fails to make API call + */ + public LLMObsAnnotatedInteractionsResponse getLLMObsAnnotatedInteractions(String queueId) + throws ApiException { + return getLLMObsAnnotatedInteractionsWithHttpInfo(queueId).getData(); + } + + /** + * Get annotated queue interactions. + * + *

See {@link #getLLMObsAnnotatedInteractionsWithHttpInfoAsync}. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @return CompletableFuture<LLMObsAnnotatedInteractionsResponse> + */ + public CompletableFuture getLLMObsAnnotatedInteractionsAsync( + String queueId) { + return getLLMObsAnnotatedInteractionsWithHttpInfoAsync(queueId) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Retrieve all interactions and their annotations for a given annotation queue. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @return ApiResponse<LLMObsAnnotatedInteractionsResponse> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + * + * + * + * + *
Response details
Status Code Description Response Headers
200 OK -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
429 Too many requests -
+ */ + public ApiResponse + getLLMObsAnnotatedInteractionsWithHttpInfo(String queueId) throws ApiException { + // Check if unstable operation is enabled + String operationId = "getLLMObsAnnotatedInteractions"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = null; + + // verify the required parameter 'queueId' is set + if (queueId == null) { + throw new ApiException( + 400, + "Missing the required parameter 'queueId' when calling getLLMObsAnnotatedInteractions"); + } + // create path and map variables + String localVarPath = + "/api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotated-interactions" + .replaceAll("\\{" + "queue_id" + "\\}", apiClient.escapeString(queueId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.getLLMObsAnnotatedInteractions", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Get annotated queue interactions. + * + *

See {@link #getLLMObsAnnotatedInteractionsWithHttpInfo}. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @return CompletableFuture<ApiResponse<LLMObsAnnotatedInteractionsResponse>> + */ + public CompletableFuture> + getLLMObsAnnotatedInteractionsWithHttpInfoAsync(String queueId) { + // Check if unstable operation is enabled + String operationId = "getLLMObsAnnotatedInteractions"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = null; + + // verify the required parameter 'queueId' is set + if (queueId == null) { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'queueId' when calling" + + " getLLMObsAnnotatedInteractions")); return result; } // create path and map variables - String localVarPath = "/api/v2/llm-obs/v1/experiments/delete"; + String localVarPath = + "/api/v2/llm-obs/v1/annotation-queues/{queue_id}/annotated-interactions" + .replaceAll("\\{" + "queue_id" + "\\}", apiClient.escapeString(queueId.toString())); Map localVarHeaderParams = new HashMap(); @@ -1437,51 +2439,84 @@ public CompletableFuture> deleteLLMObsExperimentsWithHttpInfoA try { builder = apiClient.createBuilder( - "v2.LlmObservabilityApi.deleteLLMObsExperiments", + "v2.LlmObservabilityApi.getLLMObsAnnotatedInteractions", localVarPath, new ArrayList(), localVarHeaderParams, new HashMap(), - new String[] {"*/*"}, + new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = + new CompletableFuture<>(); result.completeExceptionally(ex); return result; } return apiClient.invokeAPIAsync( - "POST", + "GET", builder, localVarHeaderParams, - new String[] {"application/json"}, + new String[] {}, localVarPostBody, new HashMap(), false, - null); + new GenericType() {}); + } + + /** Manage optional parameters to listLLMObsAnnotationQueues. */ + public static class ListLLMObsAnnotationQueuesOptionalParameters { + private String projectId; + private List queueIds; + + /** + * Set projectId. + * + * @param projectId Filter annotation queues by project ID. Cannot be used together with + * queueIds. (optional) + * @return ListLLMObsAnnotationQueuesOptionalParameters + */ + public ListLLMObsAnnotationQueuesOptionalParameters projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Set queueIds. + * + * @param queueIds Filter annotation queues by queue IDs (comma-separated). Cannot be used + * together with projectId. (optional) + * @return ListLLMObsAnnotationQueuesOptionalParameters + */ + public ListLLMObsAnnotationQueuesOptionalParameters queueIds(List queueIds) { + this.queueIds = queueIds; + return this; + } } /** - * Delete LLM Observability projects. + * List LLM Observability annotation queues. * - *

See {@link #deleteLLMObsProjectsWithHttpInfo}. + *

See {@link #listLLMObsAnnotationQueuesWithHttpInfo}. * - * @param body Delete projects payload. (required) + * @return LLMObsAnnotationQueuesResponse * @throws ApiException if fails to make API call */ - public void deleteLLMObsProjects(LLMObsDeleteProjectsRequest body) throws ApiException { - deleteLLMObsProjectsWithHttpInfo(body); + public LLMObsAnnotationQueuesResponse listLLMObsAnnotationQueues() throws ApiException { + return listLLMObsAnnotationQueuesWithHttpInfo( + new ListLLMObsAnnotationQueuesOptionalParameters()) + .getData(); } /** - * Delete LLM Observability projects. + * List LLM Observability annotation queues. * - *

See {@link #deleteLLMObsProjectsWithHttpInfoAsync}. + *

See {@link #listLLMObsAnnotationQueuesWithHttpInfoAsync}. * - * @param body Delete projects payload. (required) - * @return CompletableFuture + * @return CompletableFuture<LLMObsAnnotationQueuesResponse> */ - public CompletableFuture deleteLLMObsProjectsAsync(LLMObsDeleteProjectsRequest body) { - return deleteLLMObsProjectsWithHttpInfoAsync(body) + public CompletableFuture listLLMObsAnnotationQueuesAsync() { + return listLLMObsAnnotationQueuesWithHttpInfoAsync( + new ListLLMObsAnnotationQueuesOptionalParameters()) .thenApply( response -> { return response.getData(); @@ -1489,123 +2524,155 @@ public CompletableFuture deleteLLMObsProjectsAsync(LLMObsDeleteProjectsReq } /** - * Delete one or more LLM Observability projects. + * List LLM Observability annotation queues. * - * @param body Delete projects payload. (required) - * @return ApiResponse<Void> + *

See {@link #listLLMObsAnnotationQueuesWithHttpInfo}. + * + * @param parameters Optional parameters for the request. + * @return LLMObsAnnotationQueuesResponse + * @throws ApiException if fails to make API call + */ + public LLMObsAnnotationQueuesResponse listLLMObsAnnotationQueues( + ListLLMObsAnnotationQueuesOptionalParameters parameters) throws ApiException { + return listLLMObsAnnotationQueuesWithHttpInfo(parameters).getData(); + } + + /** + * List LLM Observability annotation queues. + * + *

See {@link #listLLMObsAnnotationQueuesWithHttpInfoAsync}. + * + * @param parameters Optional parameters for the request. + * @return CompletableFuture<LLMObsAnnotationQueuesResponse> + */ + public CompletableFuture listLLMObsAnnotationQueuesAsync( + ListLLMObsAnnotationQueuesOptionalParameters parameters) { + return listLLMObsAnnotationQueuesWithHttpInfoAsync(parameters) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * List annotation queues. Optionally filter by project ID or queue IDs. These parameters are + * mutually exclusive. If neither is provided, all queues in the organization are returned. + * + * @param parameters Optional parameters for the request. + * @return ApiResponse<LLMObsAnnotationQueuesResponse> * @throws ApiException if fails to make API call * @http.response.details * * * - * + * * * * * *
Response details
Status Code Description Response Headers
204 No Content -
200 OK -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
429 Too many requests -
*/ - public ApiResponse deleteLLMObsProjectsWithHttpInfo(LLMObsDeleteProjectsRequest body) - throws ApiException { + public ApiResponse listLLMObsAnnotationQueuesWithHttpInfo( + ListLLMObsAnnotationQueuesOptionalParameters parameters) throws ApiException { // Check if unstable operation is enabled - String operationId = "deleteLLMObsProjects"; + String operationId = "listLLMObsAnnotationQueues"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); } - Object localVarPostBody = body; - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException( - 400, "Missing the required parameter 'body' when calling deleteLLMObsProjects"); - } + Object localVarPostBody = null; + String projectId = parameters.projectId; + List queueIds = parameters.queueIds; // create path and map variables - String localVarPath = "/api/v2/llm-obs/v1/projects/delete"; + String localVarPath = "/api/v2/llm-obs/v1/annotation-queues"; + List localVarQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "projectId", projectId)); + localVarQueryParams.addAll(apiClient.parameterToPairs("multi", "queueIds", queueIds)); + Invocation.Builder builder = apiClient.createBuilder( - "v2.LlmObservabilityApi.deleteLLMObsProjects", + "v2.LlmObservabilityApi.listLLMObsAnnotationQueues", localVarPath, - new ArrayList(), + localVarQueryParams, localVarHeaderParams, new HashMap(), - new String[] {"*/*"}, + new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); return apiClient.invokeAPI( - "POST", + "GET", builder, localVarHeaderParams, - new String[] {"application/json"}, + new String[] {}, localVarPostBody, new HashMap(), false, - null); + new GenericType() {}); } /** - * Delete LLM Observability projects. + * List LLM Observability annotation queues. * - *

See {@link #deleteLLMObsProjectsWithHttpInfo}. + *

See {@link #listLLMObsAnnotationQueuesWithHttpInfo}. * - * @param body Delete projects payload. (required) - * @return CompletableFuture<ApiResponse<Void>> + * @param parameters Optional parameters for the request. + * @return CompletableFuture<ApiResponse<LLMObsAnnotationQueuesResponse>> */ - public CompletableFuture> deleteLLMObsProjectsWithHttpInfoAsync( - LLMObsDeleteProjectsRequest body) { + public CompletableFuture> + listLLMObsAnnotationQueuesWithHttpInfoAsync( + ListLLMObsAnnotationQueuesOptionalParameters parameters) { // Check if unstable operation is enabled - String operationId = "deleteLLMObsProjects"; + String operationId = "listLLMObsAnnotationQueues"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = + new CompletableFuture<>(); result.completeExceptionally( new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); return result; } - Object localVarPostBody = body; - - // verify the required parameter 'body' is set - if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException( - 400, "Missing the required parameter 'body' when calling deleteLLMObsProjects")); - return result; - } + Object localVarPostBody = null; + String projectId = parameters.projectId; + List queueIds = parameters.queueIds; // create path and map variables - String localVarPath = "/api/v2/llm-obs/v1/projects/delete"; + String localVarPath = "/api/v2/llm-obs/v1/annotation-queues"; + List localVarQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "projectId", projectId)); + localVarQueryParams.addAll(apiClient.parameterToPairs("multi", "queueIds", queueIds)); + Invocation.Builder builder; try { builder = apiClient.createBuilder( - "v2.LlmObservabilityApi.deleteLLMObsProjects", + "v2.LlmObservabilityApi.listLLMObsAnnotationQueues", localVarPath, - new ArrayList(), + localVarQueryParams, localVarHeaderParams, new HashMap(), - new String[] {"*/*"}, + new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = + new CompletableFuture<>(); result.completeExceptionally(ex); return result; } return apiClient.invokeAPIAsync( - "POST", + "GET", builder, localVarHeaderParams, - new String[] {"application/json"}, + new String[] {}, localVarPostBody, new HashMap(), false, - null); + new GenericType() {}); } /** Manage optional parameters to listLLMObsDatasetRecords. */ @@ -2649,6 +3716,189 @@ public CompletableFuture> listLLMObsProjects new GenericType() {}); } + /** + * Update an LLM Observability annotation queue. + * + *

See {@link #updateLLMObsAnnotationQueueWithHttpInfo}. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Update annotation queue payload. (required) + * @return LLMObsAnnotationQueueResponse + * @throws ApiException if fails to make API call + */ + public LLMObsAnnotationQueueResponse updateLLMObsAnnotationQueue( + String queueId, LLMObsAnnotationQueueUpdateRequest body) throws ApiException { + return updateLLMObsAnnotationQueueWithHttpInfo(queueId, body).getData(); + } + + /** + * Update an LLM Observability annotation queue. + * + *

See {@link #updateLLMObsAnnotationQueueWithHttpInfoAsync}. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Update annotation queue payload. (required) + * @return CompletableFuture<LLMObsAnnotationQueueResponse> + */ + public CompletableFuture updateLLMObsAnnotationQueueAsync( + String queueId, LLMObsAnnotationQueueUpdateRequest body) { + return updateLLMObsAnnotationQueueWithHttpInfoAsync(queueId, body) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Partially update an annotation queue. Only name and description can + * be updated. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Update annotation queue payload. (required) + * @return ApiResponse<LLMObsAnnotationQueueResponse> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + * + * + * + * + *
Response details
Status Code Description Response Headers
200 OK -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
429 Too many requests -
+ */ + public ApiResponse updateLLMObsAnnotationQueueWithHttpInfo( + String queueId, LLMObsAnnotationQueueUpdateRequest body) throws ApiException { + // Check if unstable operation is enabled + String operationId = "updateLLMObsAnnotationQueue"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = body; + + // verify the required parameter 'queueId' is set + if (queueId == null) { + throw new ApiException( + 400, "Missing the required parameter 'queueId' when calling updateLLMObsAnnotationQueue"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException( + 400, "Missing the required parameter 'body' when calling updateLLMObsAnnotationQueue"); + } + // create path and map variables + String localVarPath = + "/api/v2/llm-obs/v1/annotation-queues/{queue_id}" + .replaceAll("\\{" + "queue_id" + "\\}", apiClient.escapeString(queueId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.updateLLMObsAnnotationQueue", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "PATCH", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Update an LLM Observability annotation queue. + * + *

See {@link #updateLLMObsAnnotationQueueWithHttpInfo}. + * + * @param queueId The ID of the LLM Observability annotation queue. (required) + * @param body Update annotation queue payload. (required) + * @return CompletableFuture<ApiResponse<LLMObsAnnotationQueueResponse>> + */ + public CompletableFuture> + updateLLMObsAnnotationQueueWithHttpInfoAsync( + String queueId, LLMObsAnnotationQueueUpdateRequest body) { + // Check if unstable operation is enabled + String operationId = "updateLLMObsAnnotationQueue"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = body; + + // verify the required parameter 'queueId' is set + if (queueId == null) { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'queueId' when calling updateLLMObsAnnotationQueue")); + return result; + } + + // verify the required parameter 'body' is set + if (body == null) { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'body' when calling updateLLMObsAnnotationQueue")); + return result; + } + // create path and map variables + String localVarPath = + "/api/v2/llm-obs/v1/annotation-queues/{queue_id}" + .replaceAll("\\{" + "queue_id" + "\\}", apiClient.escapeString(queueId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.LlmObservabilityApi.updateLLMObsAnnotationQueue", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "PATCH", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + /** * Update an LLM Observability dataset. * diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionItem.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionItem.java new file mode 100644 index 00000000000..5f84e665c0c --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionItem.java @@ -0,0 +1,248 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** An interaction with its associated annotations. */ +@JsonPropertyOrder({ + LLMObsAnnotatedInteractionItem.JSON_PROPERTY_ANNOTATIONS, + LLMObsAnnotatedInteractionItem.JSON_PROPERTY_CONTENT_ID, + LLMObsAnnotatedInteractionItem.JSON_PROPERTY_ID, + LLMObsAnnotatedInteractionItem.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotatedInteractionItem { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ANNOTATIONS = "annotations"; + private List annotations = new ArrayList<>(); + + public static final String JSON_PROPERTY_CONTENT_ID = "content_id"; + private String contentId; + + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_TYPE = "type"; + private LLMObsInteractionType type; + + public LLMObsAnnotatedInteractionItem() {} + + @JsonCreator + public LLMObsAnnotatedInteractionItem( + @JsonProperty(required = true, value = JSON_PROPERTY_ANNOTATIONS) + List annotations, + @JsonProperty(required = true, value = JSON_PROPERTY_CONTENT_ID) String contentId, + @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) LLMObsInteractionType type) { + this.annotations = annotations; + this.contentId = contentId; + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public LLMObsAnnotatedInteractionItem annotations(List annotations) { + this.annotations = annotations; + for (LLMObsAnnotationItem item : annotations) { + this.unparsed |= item.unparsed; + } + return this; + } + + public LLMObsAnnotatedInteractionItem addAnnotationsItem(LLMObsAnnotationItem annotationsItem) { + this.annotations.add(annotationsItem); + this.unparsed |= annotationsItem.unparsed; + return this; + } + + /** + * List of annotations for this interaction. + * + * @return annotations + */ + @JsonProperty(JSON_PROPERTY_ANNOTATIONS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getAnnotations() { + return annotations; + } + + public void setAnnotations(List annotations) { + this.annotations = annotations; + } + + public LLMObsAnnotatedInteractionItem contentId(String contentId) { + this.contentId = contentId; + return this; + } + + /** + * Identifier of the content for this interaction. + * + * @return contentId + */ + @JsonProperty(JSON_PROPERTY_CONTENT_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getContentId() { + return contentId; + } + + public void setContentId(String contentId) { + this.contentId = contentId; + } + + public LLMObsAnnotatedInteractionItem id(String id) { + this.id = id; + return this; + } + + /** + * Unique identifier of the interaction. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public LLMObsAnnotatedInteractionItem type(LLMObsInteractionType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Type of interaction in an annotation queue. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsInteractionType getType() { + return type; + } + + public void setType(LLMObsInteractionType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotatedInteractionItem + */ + @JsonAnySetter + public LLMObsAnnotatedInteractionItem putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotatedInteractionItem object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotatedInteractionItem llmObsAnnotatedInteractionItem = + (LLMObsAnnotatedInteractionItem) o; + return Objects.equals(this.annotations, llmObsAnnotatedInteractionItem.annotations) + && Objects.equals(this.contentId, llmObsAnnotatedInteractionItem.contentId) + && Objects.equals(this.id, llmObsAnnotatedInteractionItem.id) + && Objects.equals(this.type, llmObsAnnotatedInteractionItem.type) + && Objects.equals( + this.additionalProperties, llmObsAnnotatedInteractionItem.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(annotations, contentId, id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotatedInteractionItem {\n"); + sb.append(" annotations: ").append(toIndentedString(annotations)).append("\n"); + sb.append(" contentId: ").append(toIndentedString(contentId)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsDataAttributesResponse.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsDataAttributesResponse.java new file mode 100644 index 00000000000..03101a8a9c4 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsDataAttributesResponse.java @@ -0,0 +1,168 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** Attributes containing the list of annotated interactions. */ +@JsonPropertyOrder({ + LLMObsAnnotatedInteractionsDataAttributesResponse.JSON_PROPERTY_ANNOTATED_INTERACTIONS +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotatedInteractionsDataAttributesResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ANNOTATED_INTERACTIONS = "annotated_interactions"; + private List annotatedInteractions = new ArrayList<>(); + + public LLMObsAnnotatedInteractionsDataAttributesResponse() {} + + @JsonCreator + public LLMObsAnnotatedInteractionsDataAttributesResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_ANNOTATED_INTERACTIONS) + List annotatedInteractions) { + this.annotatedInteractions = annotatedInteractions; + } + + public LLMObsAnnotatedInteractionsDataAttributesResponse annotatedInteractions( + List annotatedInteractions) { + this.annotatedInteractions = annotatedInteractions; + for (LLMObsAnnotatedInteractionItem item : annotatedInteractions) { + this.unparsed |= item.unparsed; + } + return this; + } + + public LLMObsAnnotatedInteractionsDataAttributesResponse addAnnotatedInteractionsItem( + LLMObsAnnotatedInteractionItem annotatedInteractionsItem) { + this.annotatedInteractions.add(annotatedInteractionsItem); + this.unparsed |= annotatedInteractionsItem.unparsed; + return this; + } + + /** + * List of interactions with their annotations. + * + * @return annotatedInteractions + */ + @JsonProperty(JSON_PROPERTY_ANNOTATED_INTERACTIONS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getAnnotatedInteractions() { + return annotatedInteractions; + } + + public void setAnnotatedInteractions(List annotatedInteractions) { + this.annotatedInteractions = annotatedInteractions; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotatedInteractionsDataAttributesResponse + */ + @JsonAnySetter + public LLMObsAnnotatedInteractionsDataAttributesResponse putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotatedInteractionsDataAttributesResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotatedInteractionsDataAttributesResponse + llmObsAnnotatedInteractionsDataAttributesResponse = + (LLMObsAnnotatedInteractionsDataAttributesResponse) o; + return Objects.equals( + this.annotatedInteractions, + llmObsAnnotatedInteractionsDataAttributesResponse.annotatedInteractions) + && Objects.equals( + this.additionalProperties, + llmObsAnnotatedInteractionsDataAttributesResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(annotatedInteractions, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotatedInteractionsDataAttributesResponse {\n"); + sb.append(" annotatedInteractions: ") + .append(toIndentedString(annotatedInteractions)) + .append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsDataResponse.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsDataResponse.java new file mode 100644 index 00000000000..62ae81b386a --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsDataResponse.java @@ -0,0 +1,214 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Data object for annotated interactions. */ +@JsonPropertyOrder({ + LLMObsAnnotatedInteractionsDataResponse.JSON_PROPERTY_ATTRIBUTES, + LLMObsAnnotatedInteractionsDataResponse.JSON_PROPERTY_ID, + LLMObsAnnotatedInteractionsDataResponse.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotatedInteractionsDataResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private LLMObsAnnotatedInteractionsDataAttributesResponse attributes; + + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_TYPE = "type"; + private LLMObsAnnotatedInteractionsType type; + + public LLMObsAnnotatedInteractionsDataResponse() {} + + @JsonCreator + public LLMObsAnnotatedInteractionsDataResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + LLMObsAnnotatedInteractionsDataAttributesResponse attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) + LLMObsAnnotatedInteractionsType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public LLMObsAnnotatedInteractionsDataResponse attributes( + LLMObsAnnotatedInteractionsDataAttributesResponse attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * Attributes containing the list of annotated interactions. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotatedInteractionsDataAttributesResponse getAttributes() { + return attributes; + } + + public void setAttributes(LLMObsAnnotatedInteractionsDataAttributesResponse attributes) { + this.attributes = attributes; + } + + public LLMObsAnnotatedInteractionsDataResponse id(String id) { + this.id = id; + return this; + } + + /** + * The queue ID. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public LLMObsAnnotatedInteractionsDataResponse type(LLMObsAnnotatedInteractionsType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Resource type for annotated interactions. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotatedInteractionsType getType() { + return type; + } + + public void setType(LLMObsAnnotatedInteractionsType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotatedInteractionsDataResponse + */ + @JsonAnySetter + public LLMObsAnnotatedInteractionsDataResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotatedInteractionsDataResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotatedInteractionsDataResponse llmObsAnnotatedInteractionsDataResponse = + (LLMObsAnnotatedInteractionsDataResponse) o; + return Objects.equals(this.attributes, llmObsAnnotatedInteractionsDataResponse.attributes) + && Objects.equals(this.id, llmObsAnnotatedInteractionsDataResponse.id) + && Objects.equals(this.type, llmObsAnnotatedInteractionsDataResponse.type) + && Objects.equals( + this.additionalProperties, + llmObsAnnotatedInteractionsDataResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotatedInteractionsDataResponse {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsResponse.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsResponse.java new file mode 100644 index 00000000000..05271e2985a --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsResponse.java @@ -0,0 +1,148 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Response containing the annotated interactions for an annotation queue. */ +@JsonPropertyOrder({LLMObsAnnotatedInteractionsResponse.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotatedInteractionsResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private LLMObsAnnotatedInteractionsDataResponse data; + + public LLMObsAnnotatedInteractionsResponse() {} + + @JsonCreator + public LLMObsAnnotatedInteractionsResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + LLMObsAnnotatedInteractionsDataResponse data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public LLMObsAnnotatedInteractionsResponse data(LLMObsAnnotatedInteractionsDataResponse data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Data object for annotated interactions. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotatedInteractionsDataResponse getData() { + return data; + } + + public void setData(LLMObsAnnotatedInteractionsDataResponse data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotatedInteractionsResponse + */ + @JsonAnySetter + public LLMObsAnnotatedInteractionsResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotatedInteractionsResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotatedInteractionsResponse llmObsAnnotatedInteractionsResponse = + (LLMObsAnnotatedInteractionsResponse) o; + return Objects.equals(this.data, llmObsAnnotatedInteractionsResponse.data) + && Objects.equals( + this.additionalProperties, llmObsAnnotatedInteractionsResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotatedInteractionsResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsType.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsType.java new file mode 100644 index 00000000000..c884149f6b9 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionsType.java @@ -0,0 +1,58 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** Resource type for annotated interactions. */ +@JsonSerialize( + using = LLMObsAnnotatedInteractionsType.LLMObsAnnotatedInteractionsTypeSerializer.class) +public class LLMObsAnnotatedInteractionsType extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("annotated_interactions")); + + public static final LLMObsAnnotatedInteractionsType ANNOTATED_INTERACTIONS = + new LLMObsAnnotatedInteractionsType("annotated_interactions"); + + LLMObsAnnotatedInteractionsType(String value) { + super(value, allowedValues); + } + + public static class LLMObsAnnotatedInteractionsTypeSerializer + extends StdSerializer { + public LLMObsAnnotatedInteractionsTypeSerializer(Class t) { + super(t); + } + + public LLMObsAnnotatedInteractionsTypeSerializer() { + this(null); + } + + @Override + public void serialize( + LLMObsAnnotatedInteractionsType value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static LLMObsAnnotatedInteractionsType fromValue(String value) { + return new LLMObsAnnotatedInteractionsType(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationItem.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationItem.java new file mode 100644 index 00000000000..1eb13ce37e4 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationItem.java @@ -0,0 +1,328 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** A single annotation on an interaction. */ +@JsonPropertyOrder({ + LLMObsAnnotationItem.JSON_PROPERTY_CREATED_AT, + LLMObsAnnotationItem.JSON_PROPERTY_CREATED_BY, + LLMObsAnnotationItem.JSON_PROPERTY_ID, + LLMObsAnnotationItem.JSON_PROPERTY_INTERACTION_ID, + LLMObsAnnotationItem.JSON_PROPERTY_LABEL_VALUES, + LLMObsAnnotationItem.JSON_PROPERTY_MODIFIED_AT, + LLMObsAnnotationItem.JSON_PROPERTY_MODIFIED_BY +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationItem { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private OffsetDateTime createdAt; + + public static final String JSON_PROPERTY_CREATED_BY = "created_by"; + private String createdBy; + + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_INTERACTION_ID = "interaction_id"; + private String interactionId; + + public static final String JSON_PROPERTY_LABEL_VALUES = "label_values"; + private Map labelValues = new HashMap(); + + public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at"; + private OffsetDateTime modifiedAt; + + public static final String JSON_PROPERTY_MODIFIED_BY = "modified_by"; + private String modifiedBy; + + public LLMObsAnnotationItem() {} + + @JsonCreator + public LLMObsAnnotationItem( + @JsonProperty(required = true, value = JSON_PROPERTY_CREATED_AT) OffsetDateTime createdAt, + @JsonProperty(required = true, value = JSON_PROPERTY_CREATED_BY) String createdBy, + @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, + @JsonProperty(required = true, value = JSON_PROPERTY_INTERACTION_ID) String interactionId, + @JsonProperty(required = true, value = JSON_PROPERTY_LABEL_VALUES) + Map labelValues, + @JsonProperty(required = true, value = JSON_PROPERTY_MODIFIED_AT) OffsetDateTime modifiedAt, + @JsonProperty(required = true, value = JSON_PROPERTY_MODIFIED_BY) String modifiedBy) { + this.createdAt = createdAt; + this.createdBy = createdBy; + this.id = id; + this.interactionId = interactionId; + this.labelValues = labelValues; + this.modifiedAt = modifiedAt; + this.modifiedBy = modifiedBy; + } + + public LLMObsAnnotationItem createdAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Timestamp when the annotation was created. + * + * @return createdAt + */ + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + public LLMObsAnnotationItem createdBy(String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * Identifier of the user who created the annotation. + * + * @return createdBy + */ + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getCreatedBy() { + return createdBy; + } + + public void setCreatedBy(String createdBy) { + this.createdBy = createdBy; + } + + public LLMObsAnnotationItem id(String id) { + this.id = id; + return this; + } + + /** + * Unique identifier of the annotation. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public LLMObsAnnotationItem interactionId(String interactionId) { + this.interactionId = interactionId; + return this; + } + + /** + * Identifier of the interaction this annotation belongs to. + * + * @return interactionId + */ + @JsonProperty(JSON_PROPERTY_INTERACTION_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getInteractionId() { + return interactionId; + } + + public void setInteractionId(String interactionId) { + this.interactionId = interactionId; + } + + public LLMObsAnnotationItem labelValues(Map labelValues) { + this.labelValues = labelValues; + return this; + } + + public LLMObsAnnotationItem putLabelValuesItem(String key, Object labelValuesItem) { + this.labelValues.put(key, labelValuesItem); + return this; + } + + /** + * The label values for this annotation. + * + * @return labelValues + */ + @JsonProperty(JSON_PROPERTY_LABEL_VALUES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Map getLabelValues() { + return labelValues; + } + + public void setLabelValues(Map labelValues) { + this.labelValues = labelValues; + } + + public LLMObsAnnotationItem modifiedAt(OffsetDateTime modifiedAt) { + this.modifiedAt = modifiedAt; + return this; + } + + /** + * Timestamp when the annotation was last modified. + * + * @return modifiedAt + */ + @JsonProperty(JSON_PROPERTY_MODIFIED_AT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getModifiedAt() { + return modifiedAt; + } + + public void setModifiedAt(OffsetDateTime modifiedAt) { + this.modifiedAt = modifiedAt; + } + + public LLMObsAnnotationItem modifiedBy(String modifiedBy) { + this.modifiedBy = modifiedBy; + return this; + } + + /** + * Identifier of the user who last modified the annotation. + * + * @return modifiedBy + */ + @JsonProperty(JSON_PROPERTY_MODIFIED_BY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getModifiedBy() { + return modifiedBy; + } + + public void setModifiedBy(String modifiedBy) { + this.modifiedBy = modifiedBy; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationItem + */ + @JsonAnySetter + public LLMObsAnnotationItem putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationItem object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationItem llmObsAnnotationItem = (LLMObsAnnotationItem) o; + return Objects.equals(this.createdAt, llmObsAnnotationItem.createdAt) + && Objects.equals(this.createdBy, llmObsAnnotationItem.createdBy) + && Objects.equals(this.id, llmObsAnnotationItem.id) + && Objects.equals(this.interactionId, llmObsAnnotationItem.interactionId) + && Objects.equals(this.labelValues, llmObsAnnotationItem.labelValues) + && Objects.equals(this.modifiedAt, llmObsAnnotationItem.modifiedAt) + && Objects.equals(this.modifiedBy, llmObsAnnotationItem.modifiedBy) + && Objects.equals(this.additionalProperties, llmObsAnnotationItem.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash( + createdAt, + createdBy, + id, + interactionId, + labelValues, + modifiedAt, + modifiedBy, + additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationItem {\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" interactionId: ").append(toIndentedString(interactionId)).append("\n"); + sb.append(" labelValues: ").append(toIndentedString(labelValues)).append("\n"); + sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); + sb.append(" modifiedBy: ").append(toIndentedString(modifiedBy)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} 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 new file mode 100644 index 00000000000..ff47dd0ec1a --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataAttributesRequest.java @@ -0,0 +1,204 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Attributes for creating an LLM Observability annotation queue. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueDataAttributesRequest.JSON_PROPERTY_DESCRIPTION, + LLMObsAnnotationQueueDataAttributesRequest.JSON_PROPERTY_NAME, + LLMObsAnnotationQueueDataAttributesRequest.JSON_PROPERTY_PROJECT_ID +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueDataAttributesRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + private String description; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_PROJECT_ID = "project_id"; + private String projectId; + + public LLMObsAnnotationQueueDataAttributesRequest() {} + + @JsonCreator + public LLMObsAnnotationQueueDataAttributesRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name, + @JsonProperty(required = true, value = JSON_PROPERTY_PROJECT_ID) String projectId) { + this.name = name; + this.projectId = projectId; + } + + public LLMObsAnnotationQueueDataAttributesRequest description(String description) { + this.description = description; + return this; + } + + /** + * Description of the annotation queue. + * + * @return description + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public LLMObsAnnotationQueueDataAttributesRequest name(String name) { + this.name = name; + return this; + } + + /** + * Name of the annotation queue. + * + * @return name + */ + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public LLMObsAnnotationQueueDataAttributesRequest projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Identifier of the project this queue belongs to. + * + * @return projectId + */ + @JsonProperty(JSON_PROPERTY_PROJECT_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueDataAttributesRequest + */ + @JsonAnySetter + public LLMObsAnnotationQueueDataAttributesRequest putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueDataAttributesRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueDataAttributesRequest llmObsAnnotationQueueDataAttributesRequest = + (LLMObsAnnotationQueueDataAttributesRequest) o; + return Objects.equals(this.description, llmObsAnnotationQueueDataAttributesRequest.description) + && Objects.equals(this.name, llmObsAnnotationQueueDataAttributesRequest.name) + && Objects.equals(this.projectId, llmObsAnnotationQueueDataAttributesRequest.projectId) + && Objects.equals( + this.additionalProperties, + llmObsAnnotationQueueDataAttributesRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(description, name, projectId, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueDataAttributesRequest {\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" projectId: ").append(toIndentedString(projectId)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataAttributesResponse.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataAttributesResponse.java new file mode 100644 index 00000000000..aec8a34e1e8 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataAttributesResponse.java @@ -0,0 +1,355 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Attributes of an LLM Observability annotation queue. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueDataAttributesResponse.JSON_PROPERTY_CREATED_AT, + LLMObsAnnotationQueueDataAttributesResponse.JSON_PROPERTY_CREATED_BY, + LLMObsAnnotationQueueDataAttributesResponse.JSON_PROPERTY_DESCRIPTION, + LLMObsAnnotationQueueDataAttributesResponse.JSON_PROPERTY_MODIFIED_AT, + LLMObsAnnotationQueueDataAttributesResponse.JSON_PROPERTY_MODIFIED_BY, + LLMObsAnnotationQueueDataAttributesResponse.JSON_PROPERTY_NAME, + LLMObsAnnotationQueueDataAttributesResponse.JSON_PROPERTY_OWNED_BY, + LLMObsAnnotationQueueDataAttributesResponse.JSON_PROPERTY_PROJECT_ID +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueDataAttributesResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private OffsetDateTime createdAt; + + public static final String JSON_PROPERTY_CREATED_BY = "created_by"; + private String createdBy; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + private String description; + + public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at"; + private OffsetDateTime modifiedAt; + + public static final String JSON_PROPERTY_MODIFIED_BY = "modified_by"; + private String modifiedBy; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_OWNED_BY = "owned_by"; + private String ownedBy; + + public static final String JSON_PROPERTY_PROJECT_ID = "project_id"; + private String projectId; + + public LLMObsAnnotationQueueDataAttributesResponse() {} + + @JsonCreator + public LLMObsAnnotationQueueDataAttributesResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_CREATED_AT) OffsetDateTime createdAt, + @JsonProperty(required = true, value = JSON_PROPERTY_CREATED_BY) String createdBy, + @JsonProperty(required = true, value = JSON_PROPERTY_DESCRIPTION) String description, + @JsonProperty(required = true, value = JSON_PROPERTY_MODIFIED_AT) OffsetDateTime modifiedAt, + @JsonProperty(required = true, value = JSON_PROPERTY_MODIFIED_BY) String modifiedBy, + @JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name, + @JsonProperty(required = true, value = JSON_PROPERTY_OWNED_BY) String ownedBy, + @JsonProperty(required = true, value = JSON_PROPERTY_PROJECT_ID) String projectId) { + this.createdAt = createdAt; + this.createdBy = createdBy; + this.description = description; + this.modifiedAt = modifiedAt; + this.modifiedBy = modifiedBy; + this.name = name; + this.ownedBy = ownedBy; + this.projectId = projectId; + } + + public LLMObsAnnotationQueueDataAttributesResponse createdAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Timestamp when the queue was created. + * + * @return createdAt + */ + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + public LLMObsAnnotationQueueDataAttributesResponse createdBy(String createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * Identifier of the user who created the queue. + * + * @return createdBy + */ + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getCreatedBy() { + return createdBy; + } + + public void setCreatedBy(String createdBy) { + this.createdBy = createdBy; + } + + public LLMObsAnnotationQueueDataAttributesResponse description(String description) { + this.description = description; + return this; + } + + /** + * Description of the annotation queue. + * + * @return description + */ + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public LLMObsAnnotationQueueDataAttributesResponse modifiedAt(OffsetDateTime modifiedAt) { + this.modifiedAt = modifiedAt; + return this; + } + + /** + * Timestamp when the queue was last modified. + * + * @return modifiedAt + */ + @JsonProperty(JSON_PROPERTY_MODIFIED_AT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getModifiedAt() { + return modifiedAt; + } + + public void setModifiedAt(OffsetDateTime modifiedAt) { + this.modifiedAt = modifiedAt; + } + + public LLMObsAnnotationQueueDataAttributesResponse modifiedBy(String modifiedBy) { + this.modifiedBy = modifiedBy; + return this; + } + + /** + * Identifier of the user who last modified the queue. + * + * @return modifiedBy + */ + @JsonProperty(JSON_PROPERTY_MODIFIED_BY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getModifiedBy() { + return modifiedBy; + } + + public void setModifiedBy(String modifiedBy) { + this.modifiedBy = modifiedBy; + } + + public LLMObsAnnotationQueueDataAttributesResponse name(String name) { + this.name = name; + return this; + } + + /** + * Name of the annotation queue. + * + * @return name + */ + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public LLMObsAnnotationQueueDataAttributesResponse ownedBy(String ownedBy) { + this.ownedBy = ownedBy; + return this; + } + + /** + * Identifier of the user who owns the queue. + * + * @return ownedBy + */ + @JsonProperty(JSON_PROPERTY_OWNED_BY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getOwnedBy() { + return ownedBy; + } + + public void setOwnedBy(String ownedBy) { + this.ownedBy = ownedBy; + } + + public LLMObsAnnotationQueueDataAttributesResponse projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Identifier of the project this queue belongs to. + * + * @return projectId + */ + @JsonProperty(JSON_PROPERTY_PROJECT_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueDataAttributesResponse + */ + @JsonAnySetter + public LLMObsAnnotationQueueDataAttributesResponse putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueDataAttributesResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueDataAttributesResponse llmObsAnnotationQueueDataAttributesResponse = + (LLMObsAnnotationQueueDataAttributesResponse) o; + return Objects.equals(this.createdAt, llmObsAnnotationQueueDataAttributesResponse.createdAt) + && Objects.equals(this.createdBy, llmObsAnnotationQueueDataAttributesResponse.createdBy) + && Objects.equals(this.description, llmObsAnnotationQueueDataAttributesResponse.description) + && Objects.equals(this.modifiedAt, llmObsAnnotationQueueDataAttributesResponse.modifiedAt) + && Objects.equals(this.modifiedBy, llmObsAnnotationQueueDataAttributesResponse.modifiedBy) + && Objects.equals(this.name, llmObsAnnotationQueueDataAttributesResponse.name) + && Objects.equals(this.ownedBy, llmObsAnnotationQueueDataAttributesResponse.ownedBy) + && Objects.equals(this.projectId, llmObsAnnotationQueueDataAttributesResponse.projectId) + && Objects.equals( + this.additionalProperties, + llmObsAnnotationQueueDataAttributesResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash( + createdAt, + createdBy, + description, + modifiedAt, + modifiedBy, + name, + ownedBy, + projectId, + additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueDataAttributesResponse {\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); + sb.append(" modifiedBy: ").append(toIndentedString(modifiedBy)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" ownedBy: ").append(toIndentedString(ownedBy)).append("\n"); + sb.append(" projectId: ").append(toIndentedString(projectId)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataRequest.java new file mode 100644 index 00000000000..ad3cc09af7f --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataRequest.java @@ -0,0 +1,184 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Data object for creating an LLM Observability annotation queue. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueDataRequest.JSON_PROPERTY_ATTRIBUTES, + LLMObsAnnotationQueueDataRequest.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueDataRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private LLMObsAnnotationQueueDataAttributesRequest attributes; + + public static final String JSON_PROPERTY_TYPE = "type"; + private LLMObsAnnotationQueueType type; + + public LLMObsAnnotationQueueDataRequest() {} + + @JsonCreator + public LLMObsAnnotationQueueDataRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + LLMObsAnnotationQueueDataAttributesRequest attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) LLMObsAnnotationQueueType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public LLMObsAnnotationQueueDataRequest attributes( + LLMObsAnnotationQueueDataAttributesRequest attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * Attributes for creating an LLM Observability annotation queue. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueDataAttributesRequest getAttributes() { + return attributes; + } + + public void setAttributes(LLMObsAnnotationQueueDataAttributesRequest attributes) { + this.attributes = attributes; + } + + public LLMObsAnnotationQueueDataRequest type(LLMObsAnnotationQueueType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Resource type of an LLM Observability annotation queue. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueType getType() { + return type; + } + + public void setType(LLMObsAnnotationQueueType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueDataRequest + */ + @JsonAnySetter + public LLMObsAnnotationQueueDataRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueDataRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueDataRequest llmObsAnnotationQueueDataRequest = + (LLMObsAnnotationQueueDataRequest) o; + return Objects.equals(this.attributes, llmObsAnnotationQueueDataRequest.attributes) + && Objects.equals(this.type, llmObsAnnotationQueueDataRequest.type) + && Objects.equals( + this.additionalProperties, llmObsAnnotationQueueDataRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueDataRequest {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataResponse.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataResponse.java new file mode 100644 index 00000000000..d50ba0e84bf --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueDataResponse.java @@ -0,0 +1,212 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Data object for an LLM Observability annotation queue. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueDataResponse.JSON_PROPERTY_ATTRIBUTES, + LLMObsAnnotationQueueDataResponse.JSON_PROPERTY_ID, + LLMObsAnnotationQueueDataResponse.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueDataResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private LLMObsAnnotationQueueDataAttributesResponse attributes; + + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_TYPE = "type"; + private LLMObsAnnotationQueueType type; + + public LLMObsAnnotationQueueDataResponse() {} + + @JsonCreator + public LLMObsAnnotationQueueDataResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + LLMObsAnnotationQueueDataAttributesResponse attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) LLMObsAnnotationQueueType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public LLMObsAnnotationQueueDataResponse attributes( + LLMObsAnnotationQueueDataAttributesResponse attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * Attributes of an LLM Observability annotation queue. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueDataAttributesResponse getAttributes() { + return attributes; + } + + public void setAttributes(LLMObsAnnotationQueueDataAttributesResponse attributes) { + this.attributes = attributes; + } + + public LLMObsAnnotationQueueDataResponse id(String id) { + this.id = id; + return this; + } + + /** + * Unique identifier of the annotation queue. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public LLMObsAnnotationQueueDataResponse type(LLMObsAnnotationQueueType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Resource type of an LLM Observability annotation queue. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueType getType() { + return type; + } + + public void setType(LLMObsAnnotationQueueType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueDataResponse + */ + @JsonAnySetter + public LLMObsAnnotationQueueDataResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueDataResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueDataResponse llmObsAnnotationQueueDataResponse = + (LLMObsAnnotationQueueDataResponse) o; + return Objects.equals(this.attributes, llmObsAnnotationQueueDataResponse.attributes) + && Objects.equals(this.id, llmObsAnnotationQueueDataResponse.id) + && Objects.equals(this.type, llmObsAnnotationQueueDataResponse.type) + && Objects.equals( + this.additionalProperties, llmObsAnnotationQueueDataResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueDataResponse {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionItem.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionItem.java new file mode 100644 index 00000000000..1b73533de30 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionItem.java @@ -0,0 +1,180 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** A single interaction to add to an annotation queue. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueInteractionItem.JSON_PROPERTY_CONTENT_ID, + LLMObsAnnotationQueueInteractionItem.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueInteractionItem { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_CONTENT_ID = "content_id"; + private String contentId; + + public static final String JSON_PROPERTY_TYPE = "type"; + private LLMObsInteractionType type; + + public LLMObsAnnotationQueueInteractionItem() {} + + @JsonCreator + public LLMObsAnnotationQueueInteractionItem( + @JsonProperty(required = true, value = JSON_PROPERTY_CONTENT_ID) String contentId, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) LLMObsInteractionType type) { + this.contentId = contentId; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public LLMObsAnnotationQueueInteractionItem contentId(String contentId) { + this.contentId = contentId; + return this; + } + + /** + * Identifier of the content (such as trace ID) for this interaction. + * + * @return contentId + */ + @JsonProperty(JSON_PROPERTY_CONTENT_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getContentId() { + return contentId; + } + + public void setContentId(String contentId) { + this.contentId = contentId; + } + + public LLMObsAnnotationQueueInteractionItem type(LLMObsInteractionType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Type of interaction in an annotation queue. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsInteractionType getType() { + return type; + } + + public void setType(LLMObsInteractionType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueInteractionItem + */ + @JsonAnySetter + public LLMObsAnnotationQueueInteractionItem putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueInteractionItem object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueInteractionItem llmObsAnnotationQueueInteractionItem = + (LLMObsAnnotationQueueInteractionItem) o; + return Objects.equals(this.contentId, llmObsAnnotationQueueInteractionItem.contentId) + && Objects.equals(this.type, llmObsAnnotationQueueInteractionItem.type) + && Objects.equals( + this.additionalProperties, llmObsAnnotationQueueInteractionItem.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(contentId, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueInteractionItem {\n"); + sb.append(" contentId: ").append(toIndentedString(contentId)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionResponseItem.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionResponseItem.java new file mode 100644 index 00000000000..c319f22806c --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionResponseItem.java @@ -0,0 +1,239 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** A single interaction result. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueInteractionResponseItem.JSON_PROPERTY_ALREADY_EXISTED, + LLMObsAnnotationQueueInteractionResponseItem.JSON_PROPERTY_CONTENT_ID, + LLMObsAnnotationQueueInteractionResponseItem.JSON_PROPERTY_ID, + LLMObsAnnotationQueueInteractionResponseItem.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueInteractionResponseItem { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ALREADY_EXISTED = "already_existed"; + private Boolean alreadyExisted; + + public static final String JSON_PROPERTY_CONTENT_ID = "content_id"; + private String contentId; + + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_TYPE = "type"; + private LLMObsInteractionType type; + + public LLMObsAnnotationQueueInteractionResponseItem() {} + + @JsonCreator + public LLMObsAnnotationQueueInteractionResponseItem( + @JsonProperty(required = true, value = JSON_PROPERTY_ALREADY_EXISTED) Boolean alreadyExisted, + @JsonProperty(required = true, value = JSON_PROPERTY_CONTENT_ID) String contentId, + @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) LLMObsInteractionType type) { + this.alreadyExisted = alreadyExisted; + this.contentId = contentId; + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public LLMObsAnnotationQueueInteractionResponseItem alreadyExisted(Boolean alreadyExisted) { + this.alreadyExisted = alreadyExisted; + return this; + } + + /** + * Whether this interaction already existed in the queue. + * + * @return alreadyExisted + */ + @JsonProperty(JSON_PROPERTY_ALREADY_EXISTED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getAlreadyExisted() { + return alreadyExisted; + } + + public void setAlreadyExisted(Boolean alreadyExisted) { + this.alreadyExisted = alreadyExisted; + } + + public LLMObsAnnotationQueueInteractionResponseItem contentId(String contentId) { + this.contentId = contentId; + return this; + } + + /** + * Identifier of the content for this interaction. + * + * @return contentId + */ + @JsonProperty(JSON_PROPERTY_CONTENT_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getContentId() { + return contentId; + } + + public void setContentId(String contentId) { + this.contentId = contentId; + } + + public LLMObsAnnotationQueueInteractionResponseItem id(String id) { + this.id = id; + return this; + } + + /** + * Unique identifier of the interaction. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public LLMObsAnnotationQueueInteractionResponseItem type(LLMObsInteractionType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Type of interaction in an annotation queue. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsInteractionType getType() { + return type; + } + + public void setType(LLMObsInteractionType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueInteractionResponseItem + */ + @JsonAnySetter + public LLMObsAnnotationQueueInteractionResponseItem putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueInteractionResponseItem object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueInteractionResponseItem llmObsAnnotationQueueInteractionResponseItem = + (LLMObsAnnotationQueueInteractionResponseItem) o; + return Objects.equals( + this.alreadyExisted, llmObsAnnotationQueueInteractionResponseItem.alreadyExisted) + && Objects.equals(this.contentId, llmObsAnnotationQueueInteractionResponseItem.contentId) + && Objects.equals(this.id, llmObsAnnotationQueueInteractionResponseItem.id) + && Objects.equals(this.type, llmObsAnnotationQueueInteractionResponseItem.type) + && Objects.equals( + this.additionalProperties, + llmObsAnnotationQueueInteractionResponseItem.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(alreadyExisted, contentId, id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueInteractionResponseItem {\n"); + sb.append(" alreadyExisted: ").append(toIndentedString(alreadyExisted)).append("\n"); + sb.append(" contentId: ").append(toIndentedString(contentId)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataAttributesRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataAttributesRequest.java new file mode 100644 index 00000000000..34b7f9bb2ee --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataAttributesRequest.java @@ -0,0 +1,168 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** Attributes for adding interactions to an annotation queue. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueInteractionsDataAttributesRequest.JSON_PROPERTY_INTERACTIONS +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueInteractionsDataAttributesRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_INTERACTIONS = "interactions"; + private List interactions = new ArrayList<>(); + + public LLMObsAnnotationQueueInteractionsDataAttributesRequest() {} + + @JsonCreator + public LLMObsAnnotationQueueInteractionsDataAttributesRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_INTERACTIONS) + List interactions) { + this.interactions = interactions; + } + + public LLMObsAnnotationQueueInteractionsDataAttributesRequest interactions( + List interactions) { + this.interactions = interactions; + for (LLMObsAnnotationQueueInteractionItem item : interactions) { + this.unparsed |= item.unparsed; + } + return this; + } + + public LLMObsAnnotationQueueInteractionsDataAttributesRequest addInteractionsItem( + LLMObsAnnotationQueueInteractionItem interactionsItem) { + this.interactions.add(interactionsItem); + this.unparsed |= interactionsItem.unparsed; + return this; + } + + /** + * List of interactions to add to the queue. Must contain at least one item. + * + * @return interactions + */ + @JsonProperty(JSON_PROPERTY_INTERACTIONS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getInteractions() { + return interactions; + } + + public void setInteractions(List interactions) { + this.interactions = interactions; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueInteractionsDataAttributesRequest + */ + @JsonAnySetter + public LLMObsAnnotationQueueInteractionsDataAttributesRequest putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** + * Return true if this LLMObsAnnotationQueueInteractionsDataAttributesRequest object is equal to + * o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueInteractionsDataAttributesRequest + llmObsAnnotationQueueInteractionsDataAttributesRequest = + (LLMObsAnnotationQueueInteractionsDataAttributesRequest) o; + return Objects.equals( + this.interactions, llmObsAnnotationQueueInteractionsDataAttributesRequest.interactions) + && Objects.equals( + this.additionalProperties, + llmObsAnnotationQueueInteractionsDataAttributesRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(interactions, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueInteractionsDataAttributesRequest {\n"); + sb.append(" interactions: ").append(toIndentedString(interactions)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataAttributesResponse.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataAttributesResponse.java new file mode 100644 index 00000000000..7750963c18c --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataAttributesResponse.java @@ -0,0 +1,168 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** Attributes of the interaction addition response. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueInteractionsDataAttributesResponse.JSON_PROPERTY_INTERACTIONS +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueInteractionsDataAttributesResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_INTERACTIONS = "interactions"; + private List interactions = new ArrayList<>(); + + public LLMObsAnnotationQueueInteractionsDataAttributesResponse() {} + + @JsonCreator + public LLMObsAnnotationQueueInteractionsDataAttributesResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_INTERACTIONS) + List interactions) { + this.interactions = interactions; + } + + public LLMObsAnnotationQueueInteractionsDataAttributesResponse interactions( + List interactions) { + this.interactions = interactions; + for (LLMObsAnnotationQueueInteractionResponseItem item : interactions) { + this.unparsed |= item.unparsed; + } + return this; + } + + public LLMObsAnnotationQueueInteractionsDataAttributesResponse addInteractionsItem( + LLMObsAnnotationQueueInteractionResponseItem interactionsItem) { + this.interactions.add(interactionsItem); + this.unparsed |= interactionsItem.unparsed; + return this; + } + + /** + * List of interactions that were processed. + * + * @return interactions + */ + @JsonProperty(JSON_PROPERTY_INTERACTIONS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getInteractions() { + return interactions; + } + + public void setInteractions(List interactions) { + this.interactions = interactions; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueInteractionsDataAttributesResponse + */ + @JsonAnySetter + public LLMObsAnnotationQueueInteractionsDataAttributesResponse putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** + * Return true if this LLMObsAnnotationQueueInteractionsDataAttributesResponse object is equal to + * o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueInteractionsDataAttributesResponse + llmObsAnnotationQueueInteractionsDataAttributesResponse = + (LLMObsAnnotationQueueInteractionsDataAttributesResponse) o; + return Objects.equals( + this.interactions, llmObsAnnotationQueueInteractionsDataAttributesResponse.interactions) + && Objects.equals( + this.additionalProperties, + llmObsAnnotationQueueInteractionsDataAttributesResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(interactions, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueInteractionsDataAttributesResponse {\n"); + sb.append(" interactions: ").append(toIndentedString(interactions)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataRequest.java new file mode 100644 index 00000000000..01dd7a0dd78 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataRequest.java @@ -0,0 +1,188 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Data object for adding interactions to an annotation queue. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueInteractionsDataRequest.JSON_PROPERTY_ATTRIBUTES, + LLMObsAnnotationQueueInteractionsDataRequest.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueInteractionsDataRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private LLMObsAnnotationQueueInteractionsDataAttributesRequest attributes; + + public static final String JSON_PROPERTY_TYPE = "type"; + private LLMObsAnnotationQueueInteractionsType type; + + public LLMObsAnnotationQueueInteractionsDataRequest() {} + + @JsonCreator + public LLMObsAnnotationQueueInteractionsDataRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + LLMObsAnnotationQueueInteractionsDataAttributesRequest attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) + LLMObsAnnotationQueueInteractionsType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public LLMObsAnnotationQueueInteractionsDataRequest attributes( + LLMObsAnnotationQueueInteractionsDataAttributesRequest attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * Attributes for adding interactions to an annotation queue. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueInteractionsDataAttributesRequest getAttributes() { + return attributes; + } + + public void setAttributes(LLMObsAnnotationQueueInteractionsDataAttributesRequest attributes) { + this.attributes = attributes; + } + + public LLMObsAnnotationQueueInteractionsDataRequest type( + LLMObsAnnotationQueueInteractionsType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Resource type for annotation queue interactions. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueInteractionsType getType() { + return type; + } + + public void setType(LLMObsAnnotationQueueInteractionsType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueInteractionsDataRequest + */ + @JsonAnySetter + public LLMObsAnnotationQueueInteractionsDataRequest putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueInteractionsDataRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueInteractionsDataRequest llmObsAnnotationQueueInteractionsDataRequest = + (LLMObsAnnotationQueueInteractionsDataRequest) o; + return Objects.equals(this.attributes, llmObsAnnotationQueueInteractionsDataRequest.attributes) + && Objects.equals(this.type, llmObsAnnotationQueueInteractionsDataRequest.type) + && Objects.equals( + this.additionalProperties, + llmObsAnnotationQueueInteractionsDataRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueInteractionsDataRequest {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataResponse.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataResponse.java new file mode 100644 index 00000000000..557f023e2e6 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsDataResponse.java @@ -0,0 +1,216 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Data object for the interaction addition response. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueInteractionsDataResponse.JSON_PROPERTY_ATTRIBUTES, + LLMObsAnnotationQueueInteractionsDataResponse.JSON_PROPERTY_ID, + LLMObsAnnotationQueueInteractionsDataResponse.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueInteractionsDataResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private LLMObsAnnotationQueueInteractionsDataAttributesResponse attributes; + + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_TYPE = "type"; + private LLMObsAnnotationQueueInteractionsType type; + + public LLMObsAnnotationQueueInteractionsDataResponse() {} + + @JsonCreator + public LLMObsAnnotationQueueInteractionsDataResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + LLMObsAnnotationQueueInteractionsDataAttributesResponse attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) + LLMObsAnnotationQueueInteractionsType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public LLMObsAnnotationQueueInteractionsDataResponse attributes( + LLMObsAnnotationQueueInteractionsDataAttributesResponse attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * Attributes of the interaction addition response. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueInteractionsDataAttributesResponse getAttributes() { + return attributes; + } + + public void setAttributes(LLMObsAnnotationQueueInteractionsDataAttributesResponse attributes) { + this.attributes = attributes; + } + + public LLMObsAnnotationQueueInteractionsDataResponse id(String id) { + this.id = id; + return this; + } + + /** + * The queue ID the interactions were added to. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public LLMObsAnnotationQueueInteractionsDataResponse type( + LLMObsAnnotationQueueInteractionsType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Resource type for annotation queue interactions. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueInteractionsType getType() { + return type; + } + + public void setType(LLMObsAnnotationQueueInteractionsType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueInteractionsDataResponse + */ + @JsonAnySetter + public LLMObsAnnotationQueueInteractionsDataResponse putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueInteractionsDataResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueInteractionsDataResponse llmObsAnnotationQueueInteractionsDataResponse = + (LLMObsAnnotationQueueInteractionsDataResponse) o; + return Objects.equals(this.attributes, llmObsAnnotationQueueInteractionsDataResponse.attributes) + && Objects.equals(this.id, llmObsAnnotationQueueInteractionsDataResponse.id) + && Objects.equals(this.type, llmObsAnnotationQueueInteractionsDataResponse.type) + && Objects.equals( + this.additionalProperties, + llmObsAnnotationQueueInteractionsDataResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueInteractionsDataResponse {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsRequest.java new file mode 100644 index 00000000000..b3896f87d27 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsRequest.java @@ -0,0 +1,150 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Request to add interactions to an LLM Observability annotation queue. */ +@JsonPropertyOrder({LLMObsAnnotationQueueInteractionsRequest.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueInteractionsRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private LLMObsAnnotationQueueInteractionsDataRequest data; + + public LLMObsAnnotationQueueInteractionsRequest() {} + + @JsonCreator + public LLMObsAnnotationQueueInteractionsRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + LLMObsAnnotationQueueInteractionsDataRequest data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public LLMObsAnnotationQueueInteractionsRequest data( + LLMObsAnnotationQueueInteractionsDataRequest data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Data object for adding interactions to an annotation queue. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueInteractionsDataRequest getData() { + return data; + } + + public void setData(LLMObsAnnotationQueueInteractionsDataRequest data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueInteractionsRequest + */ + @JsonAnySetter + public LLMObsAnnotationQueueInteractionsRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueInteractionsRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueInteractionsRequest llmObsAnnotationQueueInteractionsRequest = + (LLMObsAnnotationQueueInteractionsRequest) o; + return Objects.equals(this.data, llmObsAnnotationQueueInteractionsRequest.data) + && Objects.equals( + this.additionalProperties, + llmObsAnnotationQueueInteractionsRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueInteractionsRequest {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsResponse.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsResponse.java new file mode 100644 index 00000000000..4cd7f9c287c --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsResponse.java @@ -0,0 +1,150 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Response containing the result of adding interactions to an annotation queue. */ +@JsonPropertyOrder({LLMObsAnnotationQueueInteractionsResponse.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueInteractionsResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private LLMObsAnnotationQueueInteractionsDataResponse data; + + public LLMObsAnnotationQueueInteractionsResponse() {} + + @JsonCreator + public LLMObsAnnotationQueueInteractionsResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + LLMObsAnnotationQueueInteractionsDataResponse data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public LLMObsAnnotationQueueInteractionsResponse data( + LLMObsAnnotationQueueInteractionsDataResponse data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Data object for the interaction addition response. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueInteractionsDataResponse getData() { + return data; + } + + public void setData(LLMObsAnnotationQueueInteractionsDataResponse data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueInteractionsResponse + */ + @JsonAnySetter + public LLMObsAnnotationQueueInteractionsResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueInteractionsResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueInteractionsResponse llmObsAnnotationQueueInteractionsResponse = + (LLMObsAnnotationQueueInteractionsResponse) o; + return Objects.equals(this.data, llmObsAnnotationQueueInteractionsResponse.data) + && Objects.equals( + this.additionalProperties, + llmObsAnnotationQueueInteractionsResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueInteractionsResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsType.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsType.java new file mode 100644 index 00000000000..161506d9779 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionsType.java @@ -0,0 +1,62 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** Resource type for annotation queue interactions. */ +@JsonSerialize( + using = + LLMObsAnnotationQueueInteractionsType.LLMObsAnnotationQueueInteractionsTypeSerializer.class) +public class LLMObsAnnotationQueueInteractionsType extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("interactions")); + + public static final LLMObsAnnotationQueueInteractionsType INTERACTIONS = + new LLMObsAnnotationQueueInteractionsType("interactions"); + + LLMObsAnnotationQueueInteractionsType(String value) { + super(value, allowedValues); + } + + public static class LLMObsAnnotationQueueInteractionsTypeSerializer + extends StdSerializer { + public LLMObsAnnotationQueueInteractionsTypeSerializer( + Class t) { + super(t); + } + + public LLMObsAnnotationQueueInteractionsTypeSerializer() { + this(null); + } + + @Override + public void serialize( + LLMObsAnnotationQueueInteractionsType value, + JsonGenerator jgen, + SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static LLMObsAnnotationQueueInteractionsType fromValue(String value) { + return new LLMObsAnnotationQueueInteractionsType(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueRequest.java new file mode 100644 index 00000000000..c123ab42709 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueRequest.java @@ -0,0 +1,147 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Request to create an LLM Observability annotation queue. */ +@JsonPropertyOrder({LLMObsAnnotationQueueRequest.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private LLMObsAnnotationQueueDataRequest data; + + public LLMObsAnnotationQueueRequest() {} + + @JsonCreator + public LLMObsAnnotationQueueRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + LLMObsAnnotationQueueDataRequest data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public LLMObsAnnotationQueueRequest data(LLMObsAnnotationQueueDataRequest data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Data object for creating an LLM Observability annotation queue. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueDataRequest getData() { + return data; + } + + public void setData(LLMObsAnnotationQueueDataRequest data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueRequest + */ + @JsonAnySetter + public LLMObsAnnotationQueueRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueRequest llmObsAnnotationQueueRequest = (LLMObsAnnotationQueueRequest) o; + return Objects.equals(this.data, llmObsAnnotationQueueRequest.data) + && Objects.equals( + this.additionalProperties, llmObsAnnotationQueueRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueRequest {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueResponse.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueResponse.java new file mode 100644 index 00000000000..bdc8e47325a --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueResponse.java @@ -0,0 +1,147 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Response containing a single LLM Observability annotation queue. */ +@JsonPropertyOrder({LLMObsAnnotationQueueResponse.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private LLMObsAnnotationQueueDataResponse data; + + public LLMObsAnnotationQueueResponse() {} + + @JsonCreator + public LLMObsAnnotationQueueResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + LLMObsAnnotationQueueDataResponse data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public LLMObsAnnotationQueueResponse data(LLMObsAnnotationQueueDataResponse data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Data object for an LLM Observability annotation queue. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueDataResponse getData() { + return data; + } + + public void setData(LLMObsAnnotationQueueDataResponse data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueResponse + */ + @JsonAnySetter + public LLMObsAnnotationQueueResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueResponse llmObsAnnotationQueueResponse = (LLMObsAnnotationQueueResponse) o; + return Objects.equals(this.data, llmObsAnnotationQueueResponse.data) + && Objects.equals( + this.additionalProperties, llmObsAnnotationQueueResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueType.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueType.java new file mode 100644 index 00000000000..16cd34ae440 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueType.java @@ -0,0 +1,55 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** Resource type of an LLM Observability annotation queue. */ +@JsonSerialize(using = LLMObsAnnotationQueueType.LLMObsAnnotationQueueTypeSerializer.class) +public class LLMObsAnnotationQueueType extends ModelEnum { + + private static final Set allowedValues = new HashSet(Arrays.asList("queues")); + + public static final LLMObsAnnotationQueueType QUEUES = new LLMObsAnnotationQueueType("queues"); + + LLMObsAnnotationQueueType(String value) { + super(value, allowedValues); + } + + public static class LLMObsAnnotationQueueTypeSerializer + extends StdSerializer { + public LLMObsAnnotationQueueTypeSerializer(Class t) { + super(t); + } + + public LLMObsAnnotationQueueTypeSerializer() { + this(null); + } + + @Override + public void serialize( + LLMObsAnnotationQueueType value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static LLMObsAnnotationQueueType fromValue(String value) { + return new LLMObsAnnotationQueueType(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueUpdateDataAttributesRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueUpdateDataAttributesRequest.java new file mode 100644 index 00000000000..f809e358b03 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueUpdateDataAttributesRequest.java @@ -0,0 +1,170 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Attributes for updating an LLM Observability annotation queue. All fields are optional. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueUpdateDataAttributesRequest.JSON_PROPERTY_DESCRIPTION, + LLMObsAnnotationQueueUpdateDataAttributesRequest.JSON_PROPERTY_NAME +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueUpdateDataAttributesRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + private String description; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public LLMObsAnnotationQueueUpdateDataAttributesRequest description(String description) { + this.description = description; + return this; + } + + /** + * Updated description of the annotation queue. + * + * @return description + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public LLMObsAnnotationQueueUpdateDataAttributesRequest name(String name) { + this.name = name; + return this; + } + + /** + * Updated name of the annotation queue. + * + * @return name + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueUpdateDataAttributesRequest + */ + @JsonAnySetter + public LLMObsAnnotationQueueUpdateDataAttributesRequest putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueUpdateDataAttributesRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueUpdateDataAttributesRequest + llmObsAnnotationQueueUpdateDataAttributesRequest = + (LLMObsAnnotationQueueUpdateDataAttributesRequest) o; + return Objects.equals( + this.description, llmObsAnnotationQueueUpdateDataAttributesRequest.description) + && Objects.equals(this.name, llmObsAnnotationQueueUpdateDataAttributesRequest.name) + && Objects.equals( + this.additionalProperties, + llmObsAnnotationQueueUpdateDataAttributesRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(description, name, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueUpdateDataAttributesRequest {\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueUpdateDataRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueUpdateDataRequest.java new file mode 100644 index 00000000000..4f5eae4a273 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueUpdateDataRequest.java @@ -0,0 +1,184 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Data object for updating an LLM Observability annotation queue. */ +@JsonPropertyOrder({ + LLMObsAnnotationQueueUpdateDataRequest.JSON_PROPERTY_ATTRIBUTES, + LLMObsAnnotationQueueUpdateDataRequest.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueUpdateDataRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private LLMObsAnnotationQueueUpdateDataAttributesRequest attributes; + + public static final String JSON_PROPERTY_TYPE = "type"; + private LLMObsAnnotationQueueType type; + + public LLMObsAnnotationQueueUpdateDataRequest() {} + + @JsonCreator + public LLMObsAnnotationQueueUpdateDataRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + LLMObsAnnotationQueueUpdateDataAttributesRequest attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) LLMObsAnnotationQueueType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public LLMObsAnnotationQueueUpdateDataRequest attributes( + LLMObsAnnotationQueueUpdateDataAttributesRequest attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * Attributes for updating an LLM Observability annotation queue. All fields are optional. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueUpdateDataAttributesRequest getAttributes() { + return attributes; + } + + public void setAttributes(LLMObsAnnotationQueueUpdateDataAttributesRequest attributes) { + this.attributes = attributes; + } + + public LLMObsAnnotationQueueUpdateDataRequest type(LLMObsAnnotationQueueType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Resource type of an LLM Observability annotation queue. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueType getType() { + return type; + } + + public void setType(LLMObsAnnotationQueueType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueUpdateDataRequest + */ + @JsonAnySetter + public LLMObsAnnotationQueueUpdateDataRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueUpdateDataRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueUpdateDataRequest llmObsAnnotationQueueUpdateDataRequest = + (LLMObsAnnotationQueueUpdateDataRequest) o; + return Objects.equals(this.attributes, llmObsAnnotationQueueUpdateDataRequest.attributes) + && Objects.equals(this.type, llmObsAnnotationQueueUpdateDataRequest.type) + && Objects.equals( + this.additionalProperties, llmObsAnnotationQueueUpdateDataRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueUpdateDataRequest {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueUpdateRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueUpdateRequest.java new file mode 100644 index 00000000000..73fd3d6c493 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueUpdateRequest.java @@ -0,0 +1,148 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Request to update an LLM Observability annotation queue. */ +@JsonPropertyOrder({LLMObsAnnotationQueueUpdateRequest.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueueUpdateRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private LLMObsAnnotationQueueUpdateDataRequest data; + + public LLMObsAnnotationQueueUpdateRequest() {} + + @JsonCreator + public LLMObsAnnotationQueueUpdateRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + LLMObsAnnotationQueueUpdateDataRequest data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public LLMObsAnnotationQueueUpdateRequest data(LLMObsAnnotationQueueUpdateDataRequest data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Data object for updating an LLM Observability annotation queue. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueUpdateDataRequest getData() { + return data; + } + + public void setData(LLMObsAnnotationQueueUpdateDataRequest data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueueUpdateRequest + */ + @JsonAnySetter + public LLMObsAnnotationQueueUpdateRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueueUpdateRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueueUpdateRequest llmObsAnnotationQueueUpdateRequest = + (LLMObsAnnotationQueueUpdateRequest) o; + return Objects.equals(this.data, llmObsAnnotationQueueUpdateRequest.data) + && Objects.equals( + this.additionalProperties, llmObsAnnotationQueueUpdateRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueueUpdateRequest {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueuesResponse.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueuesResponse.java new file mode 100644 index 00000000000..0a214ee47a3 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueuesResponse.java @@ -0,0 +1,157 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** Response containing a list of LLM Observability annotation queues. */ +@JsonPropertyOrder({LLMObsAnnotationQueuesResponse.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsAnnotationQueuesResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private List data = new ArrayList<>(); + + public LLMObsAnnotationQueuesResponse() {} + + @JsonCreator + public LLMObsAnnotationQueuesResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + List data) { + this.data = data; + } + + public LLMObsAnnotationQueuesResponse data(List data) { + this.data = data; + for (LLMObsAnnotationQueueDataResponse item : data) { + this.unparsed |= item.unparsed; + } + return this; + } + + public LLMObsAnnotationQueuesResponse addDataItem(LLMObsAnnotationQueueDataResponse dataItem) { + this.data.add(dataItem); + this.unparsed |= dataItem.unparsed; + return this; + } + + /** + * List of annotation queues. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsAnnotationQueuesResponse + */ + @JsonAnySetter + public LLMObsAnnotationQueuesResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsAnnotationQueuesResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsAnnotationQueuesResponse llmObsAnnotationQueuesResponse = + (LLMObsAnnotationQueuesResponse) o; + return Objects.equals(this.data, llmObsAnnotationQueuesResponse.data) + && Objects.equals( + this.additionalProperties, llmObsAnnotationQueuesResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsAnnotationQueuesResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest.java new file mode 100644 index 00000000000..7a5d4e3c6f4 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest.java @@ -0,0 +1,165 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** Attributes for deleting interactions from an annotation queue. */ +@JsonPropertyOrder({ + LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest.JSON_PROPERTY_INTERACTION_IDS +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_INTERACTION_IDS = "interaction_ids"; + private List interactionIds = new ArrayList<>(); + + public LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest() {} + + @JsonCreator + public LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_INTERACTION_IDS) + List interactionIds) { + this.interactionIds = interactionIds; + } + + public LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest interactionIds( + List interactionIds) { + this.interactionIds = interactionIds; + return this; + } + + public LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest addInteractionIdsItem( + String interactionIdsItem) { + this.interactionIds.add(interactionIdsItem); + return this; + } + + /** + * List of interaction IDs to delete. Must contain at least one item. + * + * @return interactionIds + */ + @JsonProperty(JSON_PROPERTY_INTERACTION_IDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getInteractionIds() { + return interactionIds; + } + + public void setInteractionIds(List interactionIds) { + this.interactionIds = interactionIds; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest + */ + @JsonAnySetter + public LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** + * Return true if this LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest object is + * equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest + llmObsDeleteAnnotationQueueInteractionsDataAttributesRequest = + (LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest) o; + return Objects.equals( + this.interactionIds, + llmObsDeleteAnnotationQueueInteractionsDataAttributesRequest.interactionIds) + && Objects.equals( + this.additionalProperties, + llmObsDeleteAnnotationQueueInteractionsDataAttributesRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(interactionIds, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest {\n"); + sb.append(" interactionIds: ").append(toIndentedString(interactionIds)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsDeleteAnnotationQueueInteractionsDataRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsDeleteAnnotationQueueInteractionsDataRequest.java new file mode 100644 index 00000000000..451f35b1572 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsDeleteAnnotationQueueInteractionsDataRequest.java @@ -0,0 +1,193 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Data object for deleting interactions from an annotation queue. */ +@JsonPropertyOrder({ + LLMObsDeleteAnnotationQueueInteractionsDataRequest.JSON_PROPERTY_ATTRIBUTES, + LLMObsDeleteAnnotationQueueInteractionsDataRequest.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsDeleteAnnotationQueueInteractionsDataRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest attributes; + + public static final String JSON_PROPERTY_TYPE = "type"; + private LLMObsAnnotationQueueInteractionsType type; + + public LLMObsDeleteAnnotationQueueInteractionsDataRequest() {} + + @JsonCreator + public LLMObsDeleteAnnotationQueueInteractionsDataRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) + LLMObsAnnotationQueueInteractionsType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public LLMObsDeleteAnnotationQueueInteractionsDataRequest attributes( + LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * Attributes for deleting interactions from an annotation queue. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest getAttributes() { + return attributes; + } + + public void setAttributes( + LLMObsDeleteAnnotationQueueInteractionsDataAttributesRequest attributes) { + this.attributes = attributes; + } + + public LLMObsDeleteAnnotationQueueInteractionsDataRequest type( + LLMObsAnnotationQueueInteractionsType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Resource type for annotation queue interactions. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsAnnotationQueueInteractionsType getType() { + return type; + } + + public void setType(LLMObsAnnotationQueueInteractionsType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsDeleteAnnotationQueueInteractionsDataRequest + */ + @JsonAnySetter + public LLMObsDeleteAnnotationQueueInteractionsDataRequest putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** + * Return true if this LLMObsDeleteAnnotationQueueInteractionsDataRequest object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsDeleteAnnotationQueueInteractionsDataRequest + llmObsDeleteAnnotationQueueInteractionsDataRequest = + (LLMObsDeleteAnnotationQueueInteractionsDataRequest) o; + return Objects.equals( + this.attributes, llmObsDeleteAnnotationQueueInteractionsDataRequest.attributes) + && Objects.equals(this.type, llmObsDeleteAnnotationQueueInteractionsDataRequest.type) + && Objects.equals( + this.additionalProperties, + llmObsDeleteAnnotationQueueInteractionsDataRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsDeleteAnnotationQueueInteractionsDataRequest {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsDeleteAnnotationQueueInteractionsRequest.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsDeleteAnnotationQueueInteractionsRequest.java new file mode 100644 index 00000000000..ec18d1aa0c4 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsDeleteAnnotationQueueInteractionsRequest.java @@ -0,0 +1,151 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Request to delete interactions from an LLM Observability annotation queue. */ +@JsonPropertyOrder({LLMObsDeleteAnnotationQueueInteractionsRequest.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class LLMObsDeleteAnnotationQueueInteractionsRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private LLMObsDeleteAnnotationQueueInteractionsDataRequest data; + + public LLMObsDeleteAnnotationQueueInteractionsRequest() {} + + @JsonCreator + public LLMObsDeleteAnnotationQueueInteractionsRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) + LLMObsDeleteAnnotationQueueInteractionsDataRequest data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public LLMObsDeleteAnnotationQueueInteractionsRequest data( + LLMObsDeleteAnnotationQueueInteractionsDataRequest data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Data object for deleting interactions from an annotation queue. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public LLMObsDeleteAnnotationQueueInteractionsDataRequest getData() { + return data; + } + + public void setData(LLMObsDeleteAnnotationQueueInteractionsDataRequest data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return LLMObsDeleteAnnotationQueueInteractionsRequest + */ + @JsonAnySetter + public LLMObsDeleteAnnotationQueueInteractionsRequest putAdditionalProperty( + String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this LLMObsDeleteAnnotationQueueInteractionsRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LLMObsDeleteAnnotationQueueInteractionsRequest llmObsDeleteAnnotationQueueInteractionsRequest = + (LLMObsDeleteAnnotationQueueInteractionsRequest) o; + return Objects.equals(this.data, llmObsDeleteAnnotationQueueInteractionsRequest.data) + && Objects.equals( + this.additionalProperties, + llmObsDeleteAnnotationQueueInteractionsRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LLMObsDeleteAnnotationQueueInteractionsRequest {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/LLMObsInteractionType.java b/src/main/java/com/datadog/api/client/v2/model/LLMObsInteractionType.java new file mode 100644 index 00000000000..2db3dd03582 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/LLMObsInteractionType.java @@ -0,0 +1,57 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** Type of interaction in an annotation queue. */ +@JsonSerialize(using = LLMObsInteractionType.LLMObsInteractionTypeSerializer.class) +public class LLMObsInteractionType extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("trace", "experiment_trace")); + + public static final LLMObsInteractionType TRACE = new LLMObsInteractionType("trace"); + public static final LLMObsInteractionType EXPERIMENT_TRACE = + new LLMObsInteractionType("experiment_trace"); + + LLMObsInteractionType(String value) { + super(value, allowedValues); + } + + public static class LLMObsInteractionTypeSerializer extends StdSerializer { + public LLMObsInteractionTypeSerializer(Class t) { + super(t); + } + + public LLMObsInteractionTypeSerializer() { + this(null); + } + + @Override + public void serialize( + LLMObsInteractionType value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static LLMObsInteractionType fromValue(String value) { + return new LLMObsInteractionType(value); + } +} diff --git a/src/test/resources/cassettes/features/v1/Create_a_user_returns_User_created_response_test.json b/src/test/resources/cassettes/features/v1/Create_a_user_returns_User_created_response_test.json index b676df880e6..42def371a51 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_user_returns_User_created_response_test.json +++ b/src/test/resources/cassettes/features/v1/Create_a_user_returns_User_created_response_test.json @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "af617072-2860-ba27-e045-b00c8baf0188" + "id": "af617072-2860-ba27-e045-b00c8baf0187" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_user_returns_null_access_role.json b/src/test/resources/cassettes/features/v1/Create_a_user_returns_null_access_role.json index e5b3fe6bcf6..5a17eb5f03a 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_user_returns_null_access_role.json +++ b/src/test/resources/cassettes/features/v1/Create_a_user_returns_null_access_role.json @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "af617072-2860-ba27-e045-b00c8baf0187" + "id": "af617072-2860-ba27-e045-b00c8baf0188" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json index dbf89c929d7..0b1cdf6a6a8 100644 --- a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json +++ b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json @@ -28,6 +28,6 @@ "timeToLive": { "unlimited": true }, - "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d" + "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json index e94edfb7099..91c8275f382 100644 --- a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json @@ -28,6 +28,6 @@ "timeToLive": { "unlimited": true }, - "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e" + "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json index bb3f69aef75..d603e22c7bf 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json index c82b6c27f29..a42ef29bfae 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "73fd406e-d686-10bd-50ee-83f2c499e8a9" + "id": "73fd406e-d686-10bd-50ee-83f2c499e8a8" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json index 0d38d7d0a6a..20187b03f7f 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json index 7c4ece93315..490992cbf88 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eed" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json index efb480e06b4..a0731b5ad4a 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cc" + "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cd" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json index f2248371931..70fc4d3589b 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json index 6352d5f0102..87cb96a7640 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691" + "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json index 55368f4ae1c..7e5c7b1234d 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d4" + "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d3" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json index 7711ea26b7b..994e56ed9eb 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d11" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_List_log_services_returns_AWS_Logs_Services_List_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_List_log_services_returns_AWS_Logs_Services_List_object_response.json index e05cab1201f..266b281e690 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_List_log_services_returns_AWS_Logs_Services_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_List_log_services_returns_AWS_Logs_Services_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d7b" + "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d7a" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json index 994e56ed9eb..7711ea26b7b 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d11" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json index 1080a831ec7..0b391d3aa3a 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eed" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json index a1e750ca5ae..77aa5204b9c 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json index 47cc972674a..2be18c73072 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f0" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json index 772f35c2d34..adda0ec49d5 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f7" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ed" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json index 7b688758eac..4323550909c 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fe" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json index 2831c66a09c..c791186e6fd 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e7014600" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fd" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json index b8c9cddb379..d39fee8a337 100644 --- a/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2e" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json index 95cd953a629..834de428629 100644 --- a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2c" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d34" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json index 05a3826cfbf..b7e39e620cf 100644 --- a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d34" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Cancels_a_data_deletion_request_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Cancels_a_data_deletion_request_returns_OK_response.json index 0b99dd1bd72..94ffd01c024 100644 --- a/src/test/resources/cassettes/features/v2/Cancels_a_data_deletion_request_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Cancels_a_data_deletion_request_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "516e2b97-25f6-b08c-4d4a-1da22948b32e" + "id": "516e2b97-25f6-b08c-4d4a-1da22948b330" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json index 1eaa8cc3077..9b1a448d846 100644 --- a/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ee" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fe" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json index 58c1764cc21..43ce65998fe 100644 --- a/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f3" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ee" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json b/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json index 5ba8e36023e..7e70b6729df 100644 --- a/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json +++ b/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json @@ -18,7 +18,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2bcb392-2d71-be89-5578-460535c541b0" + "id": "b2bcb392-2d71-be89-5578-460535c541af" }, { "httpRequest": { @@ -48,7 +48,7 @@ "timeToLive": { "unlimited": true }, - "id": "58d1c8d5-bb10-59b9-aa85-8871f8479221" + "id": "58d1c8d5-bb10-59b9-aa85-8871f847921f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_Conflict_response.json index a885ab105be..563401356dc 100644 --- a/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "58d1c8d5-bb10-59b9-aa85-8871f847921f" + "id": "58d1c8d5-bb10-59b9-aa85-8871f8479220" }, { "httpRequest": { @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "58d1c8d5-bb10-59b9-aa85-8871f8479220" + "id": "58d1c8d5-bb10-59b9-aa85-8871f8479221" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_AWS_on_demand_task_created_successfully_response.json b/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_AWS_on_demand_task_created_successfully_response.json index ac76e0bad7e..a4926516be0 100644 --- a/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_AWS_on_demand_task_created_successfully_response.json +++ b/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_AWS_on_demand_task_created_successfully_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "22e692ec-0118-56ae-6a7b-e829dfef8419" + "id": "22e692ec-0118-56ae-6a7b-e829dfef841a" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_Bad_Request_response.json index ea94cd9866e..91451dfea49 100644 --- a/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_AWS_on_demand_task_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "ddc95453-e78c-c1f7-f3a9-441d29765f2e" + "id": "ddc95453-e78c-c1f7-f3a9-441d29765f2f" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Bad_Request_response.json index fb2bbc86068..76a4e155ad0 100644 --- a/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "e2891484-5e4d-166a-c2fe-dce7aead5f70" + "id": "e2891484-5e4d-166a-c2fe-dce7aead5f71" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Conflict_response.json index a8a5126d14c..42fd2567c77 100644 --- a/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Conflict_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "f65bb980-57f2-5b92-482f-54c273127343" + "id": "f65bb980-57f2-5b92-482f-54c273127342" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json index d78d4e863c8..ef26cd89a47 100644 --- a/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c512" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c511" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json index 82770941cf9..cd295ed246c 100644 --- a/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95bf" + "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95be" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json index c6e2a2c6b52..09c3eea3a79 100644 --- a/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae45" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae46" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json index 5f01c6d4bb3..d6ef2b55a53 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e82" + "id": "01611a93-5e74-0630-3c51-f707c3b51e79" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa4" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json index 0b345fdd95d..02cf1734a56 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e79" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7e" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9e" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json index 542b97bd388..1fec75541c7 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e80" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7f" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa2" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json index 3af6b797aec..33f84691420 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c75" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c72" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c76" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c73" }, { "httpRequest": { @@ -83,6 +83,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3f" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3b" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json index 09067379e94..5b2bdee0951 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c71" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c76" }, { "httpRequest": { @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3a" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3f" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json index 75586923584..f98e1c3550d 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcb" + "id": "32c558cf-4a2e-f914-f443-ab94000addcc" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcc" + "id": "32c558cf-4a2e-f914-f443-ab94000addcd" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json index 992baa6ee80..2cb19c254b0 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f51862" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51861" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json index 83646ddb287..4e7150c70a8 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "bf073e02-7e0b-dc8b-b075-82932236e50a" + "id": "bf073e02-7e0b-dc8b-b075-82932236e50b" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json index c7a019ef829..18ed773dab0 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce5" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce1" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "bf073e02-7e0b-dc8b-b075-82932236e50b" + "id": "bf073e02-7e0b-dc8b-b075-82932236e50a" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json index 8cc48703039..5fdb5139b99 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd2" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json index e7858392bb2..2afada8e889 100644 --- a/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6464" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6465" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json index 210fa549f1e..91af4088c4a 100644 --- a/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdc" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json index 226202c4126..cf1765920e9 100644 --- a/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892173" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json index 626d104be82..8155c3aeded 100644 --- a/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "516e2b97-25f6-b08c-4d4a-1da22948b32f" + "id": "516e2b97-25f6-b08c-4d4a-1da22948b32e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json index c32805bcdb2..efa9967a0e4 100644 --- a/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json @@ -18,6 +18,6 @@ "timeToLive": { "unlimited": true }, - "id": "b2bcb392-2d71-be89-5578-460535c541af" + "id": "b2bcb392-2d71-be89-5578-460535c541b0" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json index ac61cefff94..0c91755cb44 100644 --- a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c514" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json index d25a5b61b2c..17f6987468c 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50c" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c513" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json index 6a1865e363e..bb02652c1ea 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae47" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae43" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json index 66fdaada60b..bc7e7c252fa 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa0" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json index e14419e8d86..0a4283ae5ae 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e83" + "id": "01611a93-5e74-0630-3c51-f707c3b51e85" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa5" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_WAF_exclusion_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_WAF_exclusion_filter_returns_OK_response.json index d14b87aa29b..e17e659929e 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_WAF_exclusion_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_WAF_exclusion_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "f87651cf-cb9d-db71-c4de-1be9e301b3ea" + "id": "f87651cf-cb9d-db71-c4de-1be9e301b3e9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json index 423beb9380f..1511b4f762f 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6461" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6462" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json index d44f28ca671..7919b99b4ff 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6462" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6461" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json index ab18e4a92c4..0f7523c96c6 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c73" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c74" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json index 76d59841326..92c10c6b507 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcf" + "id": "32c558cf-4a2e-f914-f443-ab94000addc9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json index 48b483cd7a4..aeb041f1a43 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069b" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json index a42ef29bfae..c82b6c27f29 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "73fd406e-d686-10bd-50ee-83f2c499e8a8" + "id": "73fd406e-d686-10bd-50ee-83f2c499e8a9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json index e5279316af5..ee9ff41cc5e 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdb" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json index a9b1b0a59f2..7808c1e347b 100644 --- a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ff" + "id": "79babc38-7a70-5347-c8a6-73b0e70145eb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json index 3c7a22d087a..fcf4a2bf172 100644 --- a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ea" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fa" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json index f09a21c5347..f1c8d39365e 100644 --- a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f8" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f4" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json index 763ae62b2fb..075a7f9db40 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f4" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f8" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json index c64f841650a..7c90bfe4fab 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6469" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6468" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json index e6d802099c3..ed84911497c 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6463" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6464" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json index 8d1ac6d8c33..149174ae6d9 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6466" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6463" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json index cbdb9ebea90..a1c5ecbb403 100644 --- a/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d31" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d33" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_datastore_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_datastore_returns_OK_response.json index ccc4c95513a..3ffceed3185 100644 --- a/src/test/resources/cassettes/features/v2/Delete_datastore_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_datastore_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d33" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json index edd6a6da9bf..621a6a2a79d 100644 --- a/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd3" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json index e668325311c..23e7a36d764 100644 --- a/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd4" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json index 75a40d06c1c..f868434d6ac 100644 --- a/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addc9" + "id": "32c558cf-4a2e-f914-f443-ab94000addcf" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json b/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json index 75b451b6900..c2491988476 100644 --- a/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json +++ b/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cd" + "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cc" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json index fe4cf251d57..6b2882ea815 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "4fd99083-06ab-185c-0a48-d579a5f192c1" + "id": "4fd99083-06ab-185c-0a48-d579a5f192c2" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json index 6b2882ea815..fe4cf251d57 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "4fd99083-06ab-185c-0a48-d579a5f192c2" + "id": "4fd99083-06ab-185c-0a48-d579a5f192c1" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_scan_options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_scan_options_returns_OK_response.json index bc09886e60a..60bf7212494 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_scan_options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_scan_options_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "2cb6ecfe-386c-3349-2689-26da480a6b5e" + "id": "2cb6ecfe-386c-3349-2689-26da480a6b5d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json b/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json index f2e8ebc7ed1..d0faeb9a172 100644 --- a/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json +++ b/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50d" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json index eccc4031f16..0baec6032c5 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e6" + "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json index f414d99275e..958f238638a 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c74" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c75" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json index 108cf352bd9..b3366690d8d 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069e" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0697" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json index f19f9fbffe4..f6628e0a51d 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f51861" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51860" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json index a3aed5c194a..462a7eb38f0 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcd" + "id": "32c558cf-4a2e-f914-f443-ab94000addca" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json index ea476aa37df..40f41bf5c71 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c80" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json index 15a3142e28a..758e4fb66ad 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6465" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6466" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json index f6443799769..7b4fa0f864b 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addca" + "id": "32c558cf-4a2e-f914-f443-ab94000addcb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json index 83cf7035f14..9933d6258ad 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce1" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json index 87cb96a7640..6352d5f0102 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690" + "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json index 7e5c7b1234d..55368f4ae1c 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d3" + "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d4" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json index eda1a71080b..f392f13fc4c 100644 --- a/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2f" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d31" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_incident_notification_rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_incident_notification_rule_returns_OK_response.json index cb29d3d82c6..00f0e4bc8fd 100644 --- a/src/test/resources/cassettes/features/v2/Get_incident_notification_rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_incident_notification_rule_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd1" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdc" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json index 41eb6547e3c..273c818221c 100644 --- a/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bda" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json b/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json index f469a5cda1f..e05cab1201f 100644 --- a/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d79" + "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d7b" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json index 1034787e31d..9aabde754b9 100644 --- a/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fb" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_Not_Found_response.json index cc6c1703e9a..e9ddbf352f7 100644 --- a/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "16438026-1168-3bfa-3763-949697b01fe9" + "id": "16438026-1168-3bfa-3763-949697b01fea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_OK_response.json index c0406058bb1..6b6dc7ffeef 100644 --- a/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_the_details_of_an_error_tracking_issue_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "16438026-1168-3bfa-3763-949697b01fea" + "id": "16438026-1168-3bfa-3763-949697b01fe9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json index 6ab71e5cb0b..1eccad92176 100644 --- a/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "516e2b97-25f6-b08c-4d4a-1da22948b330" + "id": "516e2b97-25f6-b08c-4d4a-1da22948b32f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_AWS_scan_options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_AWS_scan_options_returns_OK_response.json index 33fc1c5e1e7..4c0f531592f 100644 --- a/src/test/resources/cassettes/features/v2/List_AWS_scan_options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_AWS_scan_options_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "2cb6ecfe-386c-3349-2689-26da480a6b5d" + "id": "2cb6ecfe-386c-3349-2689-26da480a6b5e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json index 04b3928ec59..b59f7c51711 100644 --- a/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7e" + "id": "01611a93-5e74-0630-3c51-f707c3b51e82" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa1" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa5" }, { "httpRequest": { @@ -79,7 +79,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7f" + "id": "01611a93-5e74-0630-3c51-f707c3b51e83" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json index 46c301ec1c4..ab1e1d16101 100644 --- a/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0699" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0698" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json index 0251f9fdc84..ca6902dd772 100644 --- a/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2d" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d32" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_historical_jobs_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_historical_jobs_returns_OK_response.json index 496fbb6e65d..03072b1897d 100644 --- a/src/test/resources/cassettes/features/v2/List_historical_jobs_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_historical_jobs_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "4c138fa0-d834-5972-8bd7-894a659525ad" + "id": "4c138fa0-d834-5972-8bd7-894a659525ac" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json index 6bdfa4f2dd4..26f01926eeb 100644 --- a/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd5" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd4" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_log_services_returns_AWS_Logs_Services_List_object_response.json b/src/test/resources/cassettes/features/v2/List_log_services_returns_AWS_Logs_Services_List_object_response.json index 266b281e690..f469a5cda1f 100644 --- a/src/test/resources/cassettes/features/v2/List_log_services_returns_AWS_Logs_Services_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/List_log_services_returns_AWS_Logs_Services_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d7a" + "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d79" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json index e881ea5c75f..ca2387782fd 100644 --- a/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892174" + "id": "ab2c08c1-60c7-9278-3246-d650bb892173" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_pipelines_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_pipelines_returns_OK_response.json index be0c8e1fc69..17a313d3d48 100644 --- a/src/test/resources/cassettes/features/v2/List_pipelines_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_pipelines_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7d" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json index 88ddad7a3ae..b3459ffd0fc 100644 --- a/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f51860" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51862" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Bad_Request_response_2.json b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Bad_Request_response_2.json index c48e77cce48..2ebfbdcfa75 100644 --- a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Bad_Request_response_2.json +++ b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Bad_Request_response_2.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "c6af96d1-87d1-3cd6-0d2d-71631b85bb78" + "id": "c6af96d1-87d1-3cd6-0d2d-71631b85bb77" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json index 0a176ee003e..974c53ce63d 100644 --- a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json @@ -22,6 +22,6 @@ "timeToLive": { "unlimited": true }, - "id": "0f485c8a-a29e-ebed-3836-545f90bc9457" + "id": "0f485c8a-a29e-ebed-3836-545f90bc9456" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Not_Found_response.json index dd398a6ce01..f5b653cadfe 100644 --- a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_Not_Found_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "5b9334b2-8fb1-87b5-4ca9-1a0b54abb8b3" + "id": "5b9334b2-8fb1-87b5-4ca9-1a0b54abb8b2" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_OK_response.json index 974c53ce63d..1b2ef6880a2 100644 --- a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_OK_response.json @@ -22,6 +22,6 @@ "timeToLive": { "unlimited": true }, - "id": "0f485c8a-a29e-ebed-3836-545f90bc9456" + "id": "0f485c8a-a29e-ebed-3836-545f90bc9458" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Bad_Request_response.json index fee9f74e00a..d4bcf1ca8ac 100644 --- a/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "c2c329a8-5875-126a-1858-e7c00b5af114" + "id": "c2c329a8-5875-126a-1858-e7c00b5af113" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Not_Found_response.json index a7baf1534a7..0d180071156 100644 --- a/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_Not_Found_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "0a6c2650-313c-cd4a-4230-f1a883526456" + "id": "0a6c2650-313c-cd4a-4230-f1a883526455" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_OK_response.json index 46d1bbda4f0..15c0687ec0c 100644 --- a/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_OK_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "b0e82961-e316-45f9-b544-8011dda3dd98" + "id": "b0e82961-e316-45f9-b544-8011dda3dd99" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Agentless_scan_options_enabled_successfully_response.json b/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Agentless_scan_options_enabled_successfully_response.json index 858d36f9769..ead796b159c 100644 --- a/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Agentless_scan_options_enabled_successfully_response.json +++ b/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Agentless_scan_options_enabled_successfully_response.json @@ -52,6 +52,6 @@ "timeToLive": { "unlimited": true }, - "id": "49ae287a-8cc5-118a-4b1c-2dbceae02055" + "id": "49ae287a-8cc5-118a-4b1c-2dbceae02054" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Bad_Request_response.json index 76a4e155ad0..fb2bbc86068 100644 --- a/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "e2891484-5e4d-166a-c2fe-dce7aead5f71" + "id": "e2891484-5e4d-166a-c2fe-dce7aead5f70" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Conflict_response.json index 42fd2567c77..a8a5126d14c 100644 --- a/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Conflict_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "f65bb980-57f2-5b92-482f-54c273127342" + "id": "f65bb980-57f2-5b92-482f-54c273127343" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_OK_response.json index 08f556111f9..199c7919faf 100644 --- a/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_OK_response.json @@ -52,6 +52,6 @@ "timeToLive": { "unlimited": true }, - "id": "49ae287a-8cc5-118a-4b1c-2dbceae02054" + "id": "49ae287a-8cc5-118a-4b1c-2dbceae02055" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json index cd295ed246c..82770941cf9 100644 --- a/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95be" + "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95bf" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_AWS_on_demand_task_created_successfully_response.json b/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_AWS_on_demand_task_created_successfully_response.json index c6ff6086445..8b4791c29ca 100644 --- a/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_AWS_on_demand_task_created_successfully_response.json +++ b/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_AWS_on_demand_task_created_successfully_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "22e692ec-0118-56ae-6a7b-e829dfef841a" + "id": "22e692ec-0118-56ae-6a7b-e829dfef8419" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_Bad_Request_response.json index 91451dfea49..ea94cd9866e 100644 --- a/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Post_an_AWS_on_demand_task_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "ddc95453-e78c-c1f7-f3a9-441d29765f2f" + "id": "ddc95453-e78c-c1f7-f3a9-441d29765f2e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json index 122367ac740..458c0a50fce 100644 --- a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c511" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c512" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json index 082683417bd..9232671467e 100644 --- a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e78" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7a" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9d" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json index e4f6980d6a5..f301ca6f3ce 100644 --- a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7a" + "id": "01611a93-5e74-0630-3c51-f707c3b51e80" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9f" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa4" }, { "httpRequest": { @@ -79,7 +79,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7b" + "id": "01611a93-5e74-0630-3c51-f707c3b51e81" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json index e6d62878f58..d59c27e003b 100644 --- a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json +++ b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892170" + "id": "ab2c08c1-60c7-9278-3246-d650bb892174" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Run_a_threat_hunting_job_returns_Status_created_response.json b/src/test/resources/cassettes/features/v2/Run_a_threat_hunting_job_returns_Status_created_response.json index b0ab0c61ed8..20ea8f51018 100644 --- a/src/test/resources/cassettes/features/v2/Run_a_threat_hunting_job_returns_Status_created_response.json +++ b/src/test/resources/cassettes/features/v2/Run_a_threat_hunting_job_returns_Status_created_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "4c138fa0-d834-5972-8bd7-894a659525ac" + "id": "4c138fa0-d834-5972-8bd7-894a659525ad" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json index b38e668955e..5f10e5a84ba 100644 --- a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ec" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json index e3575156ede..2cf2f5e7036 100644 --- a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f9" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f0" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json index 75b686bdbbe..cd0f546067e 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f2" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fc" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json index 88b95ace082..25c50b5140f 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f1" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json index d2d1f94bb66..5aa2107af10 100644 --- a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c510" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Bad_Request_response_2.json b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Bad_Request_response_2.json index 2ebfbdcfa75..c48e77cce48 100644 --- a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Bad_Request_response_2.json +++ b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Bad_Request_response_2.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "c6af96d1-87d1-3cd6-0d2d-71631b85bb77" + "id": "c6af96d1-87d1-3cd6-0d2d-71631b85bb78" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json index 1b2ef6880a2..0a176ee003e 100644 --- a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json @@ -22,6 +22,6 @@ "timeToLive": { "unlimited": true }, - "id": "0f485c8a-a29e-ebed-3836-545f90bc9458" + "id": "0f485c8a-a29e-ebed-3836-545f90bc9457" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Not_Found_response.json index f5b653cadfe..dd398a6ce01 100644 --- a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_Not_Found_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "5b9334b2-8fb1-87b5-4ca9-1a0b54abb8b2" + "id": "5b9334b2-8fb1-87b5-4ca9-1a0b54abb8b3" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json index babadb18733..b2d72b87ba2 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50f" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c514" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json index 561057ced5c..385920ba074 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c513" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c510" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Bad_Request_response.json index bd889c4d7e5..e0d488678ae 100644 --- a/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "c2c329a8-5875-126a-1858-e7c00b5af113" + "id": "c2c329a8-5875-126a-1858-e7c00b5af114" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Not_Found_response.json index 0d180071156..a7baf1534a7 100644 --- a/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_Not_Found_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "0a6c2650-313c-cd4a-4230-f1a883526455" + "id": "0a6c2650-313c-cd4a-4230-f1a883526456" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_OK_response.json index 15c0687ec0c..46d1bbda4f0 100644 --- a/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_OK_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "b0e82961-e316-45f9-b544-8011dda3dd99" + "id": "b0e82961-e316-45f9-b544-8011dda3dd98" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json index 9dfb29fa6ae..970a0b596df 100644 --- a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae46" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae47" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json index 2d30452fcb9..33523d241e1 100644 --- a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae43" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae45" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json index fa37ebb9c8e..949fd15a46e 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e84" + "id": "01611a93-5e74-0630-3c51-f707c3b51e78" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa6" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json index 21771204ba7..bc71ccd8654 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e81" + "id": "01611a93-5e74-0630-3c51-f707c3b51e84" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa3" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json index fe18d92a837..7a985fbb55d 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e85" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7b" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa7" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa0" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_Bad_Request_response.json index 36d9e528f82..c7a6553a4f2 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9441" + "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9442" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_OK_response.json index 7b5287a216a..72e65a80efe 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_WAF_Custom_Rule_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9443" + "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9441" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_Bad_Request_response.json index 402e0d483a0..370567a4e26 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9442" + "id": "337b2f05-cc5f-2fb5-c7be-e2e0e5bf9443" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_OK_response.json index b94fa5271d5..2d88a0bc75b 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_WAF_exclusion_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "f87651cf-cb9d-db71-c4de-1be9e301b3e8" + "id": "f87651cf-cb9d-db71-c4de-1be9e301b3ea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json index 6b10b1f99cb..3f634cdfdc4 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e5" + "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json index cf8ae047cfb..4144e776050 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c72" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c71" }, { "httpRequest": { @@ -83,6 +83,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3b" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3a" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json index c3918bef3d9..84230fa914c 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "f87651cf-cb9d-db71-c4de-1be9e301b3e9" + "id": "f87651cf-cb9d-db71-c4de-1be9e301b3e8" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_Bad_Request_response.json index 5c938dd3d90..3f6cb5725eb 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7f" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c80" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json index c669844b54b..dff3c5435d1 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0697" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json index a69a6922bcb..cd4b267d68f 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069d" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0699" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_with_trace_rate_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_with_trace_rate_returns_OK_response.json index 08f30297131..22477665035 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_with_trace_rate_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_with_trace_rate_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069a" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069b" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json index 87c7ca222ab..f7ba5a0c135 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069c" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json index 4f3f459c693..4dbd4d81382 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0698" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069a" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json index a75c509829f..73305cd59ef 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892172" + "id": "ab2c08c1-60c7-9278-3246-d650bb892171" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json index 10ca3fd4408..811fe023421 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216d" + "id": "ab2c08c1-60c7-9278-3246-d650bb892172" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json index a6258c72557..b402a04ba55 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892171" + "id": "ab2c08c1-60c7-9278-3246-d650bb892170" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json index 6b99e4ee8e2..c0415eb8a2f 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce6" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Bad_request_response.json b/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Bad_request_response.json index ed23fbee9f5..3fff6d70d3c 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Bad_request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Bad_request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21c" + "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json b/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json index be6cf1cbadf..0f470acf82f 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21e" + "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json index 3f87e60b27c..aa33727ca2c 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fa" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ff" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json index c69aaf87654..876ad2e41fe 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af646a" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6469" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json index 8630f955ca7..a9ce37fb461 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145eb" + "id": "79babc38-7a70-5347-c8a6-73b0e7014600" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json index 86bac26ee06..3e0850132da 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6468" + "id": "dc45fc73-0f09-c12d-941b-eaf799af646a" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json index bdbc4ea0c87..31556059bfd 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f5" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ec" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json index 1ef3a7d5fe9..88b2bb14ac5 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fc" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json index 8ea7f2b88b7..8acf5728617 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fd" + "id": "79babc38-7a70-5347-c8a6-73b0e70145e9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json index 43e74722652..60921358de9 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f6" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ef" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json index 09ff145d4be..b4040b956bc 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ef" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json index b7f4230cf66..c06b8597bd4 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ed" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json index 23e97a25f8a..1a052a0e510 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145e9" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json index 817c27a7388..3300bd74e78 100644 --- a/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d32" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json index 0da099d66fe..b9bf77f1d8f 100644 --- a/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd7" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bda" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_the_state_of_an_issue_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_the_state_of_an_issue_returns_Bad_Request_response.json index e642f719a20..4a27cd1e9d6 100644 --- a/src/test/resources/cassettes/features/v2/Update_the_state_of_an_issue_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_the_state_of_an_issue_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "a2c05b3b-bab5-013b-200d-7dc622c1b35e" + "id": "a2c05b3b-bab5-013b-200d-7dc622c1b35f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_the_state_of_an_issue_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_the_state_of_an_issue_returns_OK_response.json index 0c4d5613d6a..6078cbf29e3 100644 --- a/src/test/resources/cassettes/features/v2/Update_the_state_of_an_issue_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_the_state_of_an_issue_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "a2c05b3b-bab5-013b-200d-7dc622c1b35f" + "id": "a2c05b3b-bab5-013b-200d-7dc622c1b35e" }, { "httpRequest": { diff --git a/src/test/resources/com/datadog/api/client/v2/api/llm_observability.feature b/src/test/resources/com/datadog/api/client/v2/api/llm_observability.feature index f1a56f818da..a3906289988 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/llm_observability.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/llm_observability.feature @@ -1,13 +1,40 @@ @endpoint(llm-observability) @endpoint(llm-observability-v2) Feature: LLM Observability - Manage LLM Observability projects, datasets, dataset records, and - experiments via the Experiments API. + Manage LLM Observability projects, datasets, dataset records, experiments, + and annotations. Background: Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system And an instance of "LLMObservability" API + @generated @skip @team:DataDog/ml-observability + Scenario: Add annotation queue interactions returns "Bad Request" response + Given operation "CreateLLMObsAnnotationQueueInteractions" enabled + And new "CreateLLMObsAnnotationQueueInteractions" request + And request contains "queue_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"interactions": [{"content_id": "trace-abc-123", "type": "trace"}]}, "type": "interactions"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/ml-observability + Scenario: Add annotation queue interactions returns "Created" response + Given operation "CreateLLMObsAnnotationQueueInteractions" enabled + And new "CreateLLMObsAnnotationQueueInteractions" request + And request contains "queue_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"interactions": [{"content_id": "trace-abc-123", "type": "trace"}]}, "type": "interactions"}} + When the request is sent + Then the response status is 201 Created + + @generated @skip @team:DataDog/ml-observability + Scenario: Add annotation queue interactions returns "Not Found" response + Given operation "CreateLLMObsAnnotationQueueInteractions" enabled + And new "CreateLLMObsAnnotationQueueInteractions" request + And request contains "queue_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"interactions": [{"content_id": "trace-abc-123", "type": "trace"}]}, "type": "interactions"}} + When the request is sent + Then the response status is 404 Not Found + @generated @skip @team:DataDog/ml-observability Scenario: Append records to an LLM Observability dataset returns "Bad Request" response Given operation "CreateLLMObsDatasetRecords" enabled @@ -48,6 +75,22 @@ Feature: LLM Observability When the request is sent Then the response status is 200 OK + @generated @skip @team:DataDog/ml-observability + Scenario: Create an LLM Observability annotation queue returns "Bad Request" response + Given operation "CreateLLMObsAnnotationQueue" enabled + And new "CreateLLMObsAnnotationQueue" request + And body with value {"data": {"attributes": {"description": "Queue for annotating customer support traces", "name": "My annotation queue", "project_id": "a33671aa-24fd-4dcd-9b33-a8ec7dde7751"}, "type": "queues"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/ml-observability + Scenario: Create an LLM Observability annotation queue returns "Created" response + Given operation "CreateLLMObsAnnotationQueue" enabled + And new "CreateLLMObsAnnotationQueue" request + And body with value {"data": {"attributes": {"description": "Queue for annotating customer support traces", "name": "My annotation queue", "project_id": "a33671aa-24fd-4dcd-9b33-a8ec7dde7751"}, "type": "queues"}} + When the request is sent + Then the response status is 201 Created + @generated @skip @team:DataDog/ml-observability Scenario: Create an LLM Observability dataset returns "Bad Request" response Given operation "CreateLLMObsDataset" enabled @@ -221,6 +264,87 @@ Feature: LLM Observability When the request is sent Then the response status is 204 No Content + @generated @skip @team:DataDog/ml-observability + Scenario: Delete an LLM Observability annotation queue returns "No Content" response + Given operation "DeleteLLMObsAnnotationQueue" enabled + And new "DeleteLLMObsAnnotationQueue" request + And request contains "queue_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 204 No Content + + @generated @skip @team:DataDog/ml-observability + Scenario: Delete an LLM Observability annotation queue returns "Not Found" response + Given operation "DeleteLLMObsAnnotationQueue" enabled + And new "DeleteLLMObsAnnotationQueue" request + And request contains "queue_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/ml-observability + Scenario: Delete annotation queue interactions returns "Bad Request" response + Given operation "DeleteLLMObsAnnotationQueueInteractions" enabled + And new "DeleteLLMObsAnnotationQueueInteractions" request + And request contains "queue_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"interaction_ids": ["00000000-0000-0000-0000-000000000000", "00000000-0000-0000-0000-000000000001"]}, "type": "interactions"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/ml-observability + Scenario: Delete annotation queue interactions returns "No Content" response + Given operation "DeleteLLMObsAnnotationQueueInteractions" enabled + And new "DeleteLLMObsAnnotationQueueInteractions" request + And request contains "queue_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"interaction_ids": ["00000000-0000-0000-0000-000000000000", "00000000-0000-0000-0000-000000000001"]}, "type": "interactions"}} + When the request is sent + Then the response status is 204 No Content + + @generated @skip @team:DataDog/ml-observability + Scenario: Delete annotation queue interactions returns "Not Found" response + Given operation "DeleteLLMObsAnnotationQueueInteractions" enabled + And new "DeleteLLMObsAnnotationQueueInteractions" request + And request contains "queue_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"interaction_ids": ["00000000-0000-0000-0000-000000000000", "00000000-0000-0000-0000-000000000001"]}, "type": "interactions"}} + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/ml-observability + Scenario: Get annotated queue interactions returns "Bad Request" response + Given operation "GetLLMObsAnnotatedInteractions" enabled + And new "GetLLMObsAnnotatedInteractions" request + And request contains "queue_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/ml-observability + Scenario: Get annotated queue interactions returns "Not Found" response + Given operation "GetLLMObsAnnotatedInteractions" enabled + And new "GetLLMObsAnnotatedInteractions" request + And request contains "queue_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/ml-observability + Scenario: Get annotated queue interactions returns "OK" response + Given operation "GetLLMObsAnnotatedInteractions" enabled + And new "GetLLMObsAnnotatedInteractions" request + And request contains "queue_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 200 OK + + @generated @skip @team:DataDog/ml-observability + Scenario: List LLM Observability annotation queues returns "Bad Request" response + Given operation "ListLLMObsAnnotationQueues" enabled + And new "ListLLMObsAnnotationQueues" request + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/ml-observability + Scenario: List LLM Observability annotation queues returns "OK" response + Given operation "ListLLMObsAnnotationQueues" enabled + And new "ListLLMObsAnnotationQueues" request + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/ml-observability Scenario: List LLM Observability dataset records returns "Bad Request" response Given operation "ListLLMObsDatasetRecords" enabled @@ -357,6 +481,33 @@ Feature: LLM Observability When the request is sent Then the response status is 200 OK + @generated @skip @team:DataDog/ml-observability + Scenario: Update an LLM Observability annotation queue returns "Bad Request" response + Given operation "UpdateLLMObsAnnotationQueue" enabled + And new "UpdateLLMObsAnnotationQueue" request + And request contains "queue_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"description": "Updated description", "name": "Updated queue name"}, "type": "queues"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/ml-observability + Scenario: Update an LLM Observability annotation queue returns "Not Found" response + Given operation "UpdateLLMObsAnnotationQueue" enabled + And new "UpdateLLMObsAnnotationQueue" request + And request contains "queue_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"description": "Updated description", "name": "Updated queue name"}, "type": "queues"}} + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/ml-observability + Scenario: Update an LLM Observability annotation queue returns "OK" response + Given operation "UpdateLLMObsAnnotationQueue" enabled + And new "UpdateLLMObsAnnotationQueue" request + And request contains "queue_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"description": "Updated description", "name": "Updated queue name"}, "type": "queues"}} + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/ml-observability Scenario: Update an LLM Observability dataset returns "Bad Request" response Given operation "UpdateLLMObsDataset" enabled diff --git a/src/test/resources/com/datadog/api/client/v2/api/undo.json b/src/test/resources/com/datadog/api/client/v2/api/undo.json index 02afc91a4bb..078ced2bd84 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/undo.json +++ b/src/test/resources/com/datadog/api/client/v2/api/undo.json @@ -3087,6 +3087,66 @@ "type": "idempotent" } }, + "ListLLMObsAnnotationQueues": { + "tag": "LLM Observability", + "undo": { + "type": "safe" + } + }, + "CreateLLMObsAnnotationQueue": { + "tag": "LLM Observability", + "undo": { + "operationId": "DeleteLLMObsAnnotationQueue", + "parameters": [ + { + "name": "queue_id", + "source": "data.id" + } + ], + "type": "unsafe" + } + }, + "DeleteLLMObsAnnotationQueue": { + "tag": "LLM Observability", + "undo": { + "type": "idempotent" + } + }, + "UpdateLLMObsAnnotationQueue": { + "tag": "LLM Observability", + "undo": { + "type": "idempotent" + } + }, + "GetLLMObsAnnotatedInteractions": { + "tag": "LLM Observability", + "undo": { + "type": "safe" + } + }, + "CreateLLMObsAnnotationQueueInteractions": { + "tag": "LLM Observability", + "undo": { + "operationId": "DeleteLLMObsAnnotationQueueInteractions", + "parameters": [ + { + "name": "queue_id", + "source": "path.queue_id" + }, + { + "name": "body", + "template": "{\"data\": {\"type\": \"interactions\", \"attributes\": {\"interaction_ids\": [\"{{ data.attributes.interactions[0].id }}\"]}}}" + } + ], + "type": "unsafe" + } + }, + "DeleteLLMObsAnnotationQueueInteractions": { + "tag": "LLM Observability", + "undo": { + "type": "idempotent" + } + }, "ListLLMObsExperiments": { "tag": "LLM Observability", "undo": {