From 0b2af29a10b4edc480d34c745765eba87a352114 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 22 Sep 2026 18:51:33 +0000 Subject: [PATCH] Regenerate client from commit 4b5e808 of spec repo --- .generator/schemas/v2/openapi.yaml | 13 ++++++- .../api/client/v2/api/IncidentsApi.java | 13 +++++++ .../client/v2/model/FullAPIKeyAttributes.java | 34 +++++++++++++++++++ .../v2/model/PartialAPIKeyAttributes.java | 34 +++++++++++++++++++ 4 files changed, 93 insertions(+), 1 deletion(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index daf2244ff59..25bd6ef2838 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -44920,6 +44920,9 @@ components: description: Name of the API key. example: "API Key for submitting metrics" type: string + private_action_runner_enroll_enabled: + description: Whether the API key can enroll a Private Action Runner. + type: boolean remote_config_read_enabled: description: The remote config read enabled status. type: boolean @@ -84281,6 +84284,9 @@ components: description: Name of the API key. example: "API Key for submitting metrics" type: string + private_action_runner_enroll_enabled: + description: Whether the API key can enroll a Private Action Runner. + type: boolean remote_config_read_enabled: description: The remote config read enabled status. type: boolean @@ -164173,7 +164179,12 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/incidents/{incident_id}/cases/page: post: - description: Create a page from an incident using the Cases service. + deprecated: true + description: |- + Create a page from an incident using the Cases service. + + **Deprecated**: This endpoint is deprecated. Use + [Create an on-call page from an incident](#create-an-on-call-page-from-an-incident) instead. operationId: CreatePageFromIncident parameters: - $ref: "#/components/parameters/IncidentIDPathParameter" diff --git a/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java b/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java index f400aaf0355..0422a295a32 100644 --- a/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java @@ -3971,7 +3971,9 @@ public ApiResponse createOnCallPageFromIncidentWithHtt * @param body Page creation payload. (required) * @return IncidentPageUUIDResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public IncidentPageUUIDResponse createPageFromIncident( String incidentId, IncidentCreatePageFromIncidentRequest body) throws ApiException { return createPageFromIncidentWithHttpInfo(incidentId, body).getData(); @@ -3985,7 +3987,9 @@ public IncidentPageUUIDResponse createPageFromIncident( * @param incidentId The UUID of the incident. (required) * @param body Page creation payload. (required) * @return CompletableFuture<IncidentPageUUIDResponse> + * @deprecated */ + @Deprecated public CompletableFuture createPageFromIncidentAsync( String incidentId, IncidentCreatePageFromIncidentRequest body) { return createPageFromIncidentWithHttpInfoAsync(incidentId, body) @@ -3998,6 +4002,10 @@ public CompletableFuture createPageFromIncidentAsync( /** * Create a page from an incident using the Cases service. * + *

Deprecated: This endpoint is deprecated. Use Create an on-call page from an incident + * instead. + * * @param incidentId The UUID of the incident. (required) * @param body Page creation payload. (required) * @return ApiResponse<IncidentPageUUIDResponse> @@ -4013,7 +4021,10 @@ public CompletableFuture createPageFromIncidentAsync( * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse createPageFromIncidentWithHttpInfo( String incidentId, IncidentCreatePageFromIncidentRequest body) throws ApiException { // Check if unstable operation is enabled @@ -4072,7 +4083,9 @@ public ApiResponse createPageFromIncidentWithHttpInfo( * @param incidentId The UUID of the incident. (required) * @param body Page creation payload. (required) * @return CompletableFuture<ApiResponse<IncidentPageUUIDResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> createPageFromIncidentWithHttpInfoAsync( String incidentId, IncidentCreatePageFromIncidentRequest body) { diff --git a/src/main/java/com/datadog/api/client/v2/model/FullAPIKeyAttributes.java b/src/main/java/com/datadog/api/client/v2/model/FullAPIKeyAttributes.java index 94ab6647b81..0bba85943c7 100644 --- a/src/main/java/com/datadog/api/client/v2/model/FullAPIKeyAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/FullAPIKeyAttributes.java @@ -27,6 +27,7 @@ FullAPIKeyAttributes.JSON_PROPERTY_LAST4, FullAPIKeyAttributes.JSON_PROPERTY_MODIFIED_AT, FullAPIKeyAttributes.JSON_PROPERTY_NAME, + FullAPIKeyAttributes.JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED, FullAPIKeyAttributes.JSON_PROPERTY_REMOTE_CONFIG_READ_ENABLED }) @jakarta.annotation.Generated( @@ -54,6 +55,10 @@ public class FullAPIKeyAttributes { public static final String JSON_PROPERTY_NAME = "name"; private String name; + public static final String JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED = + "private_action_runner_enroll_enabled"; + private Boolean privateActionRunnerEnrollEnabled; + public static final String JSON_PROPERTY_REMOTE_CONFIG_READ_ENABLED = "remote_config_read_enabled"; private Boolean remoteConfigReadEnabled; @@ -174,6 +179,28 @@ public void setName(String name) { this.name = name; } + public FullAPIKeyAttributes privateActionRunnerEnrollEnabled( + Boolean privateActionRunnerEnrollEnabled) { + this.privateActionRunnerEnrollEnabled = privateActionRunnerEnrollEnabled; + return this; + } + + /** + * Whether the API key can enroll a Private Action Runner. + * + * @return privateActionRunnerEnrollEnabled + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getPrivateActionRunnerEnrollEnabled() { + return privateActionRunnerEnrollEnabled; + } + + public void setPrivateActionRunnerEnrollEnabled(Boolean privateActionRunnerEnrollEnabled) { + this.privateActionRunnerEnrollEnabled = privateActionRunnerEnrollEnabled; + } + public FullAPIKeyAttributes remoteConfigReadEnabled(Boolean remoteConfigReadEnabled) { this.remoteConfigReadEnabled = remoteConfigReadEnabled; return this; @@ -258,6 +285,9 @@ public boolean equals(Object o) { && Objects.equals(this.last4, fullApiKeyAttributes.last4) && Objects.equals(this.modifiedAt, fullApiKeyAttributes.modifiedAt) && Objects.equals(this.name, fullApiKeyAttributes.name) + && Objects.equals( + this.privateActionRunnerEnrollEnabled, + fullApiKeyAttributes.privateActionRunnerEnrollEnabled) && Objects.equals( this.remoteConfigReadEnabled, fullApiKeyAttributes.remoteConfigReadEnabled) && Objects.equals(this.additionalProperties, fullApiKeyAttributes.additionalProperties); @@ -273,6 +303,7 @@ public int hashCode() { last4, modifiedAt, name, + privateActionRunnerEnrollEnabled, remoteConfigReadEnabled, additionalProperties); } @@ -288,6 +319,9 @@ public String toString() { sb.append(" last4: ").append(toIndentedString(last4)).append("\n"); sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" privateActionRunnerEnrollEnabled: ") + .append(toIndentedString(privateActionRunnerEnrollEnabled)) + .append("\n"); sb.append(" remoteConfigReadEnabled: ") .append(toIndentedString(remoteConfigReadEnabled)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/PartialAPIKeyAttributes.java b/src/main/java/com/datadog/api/client/v2/model/PartialAPIKeyAttributes.java index f2abf2861c7..c41b094fc3d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PartialAPIKeyAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/PartialAPIKeyAttributes.java @@ -26,6 +26,7 @@ PartialAPIKeyAttributes.JSON_PROPERTY_LAST4, PartialAPIKeyAttributes.JSON_PROPERTY_MODIFIED_AT, PartialAPIKeyAttributes.JSON_PROPERTY_NAME, + PartialAPIKeyAttributes.JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED, PartialAPIKeyAttributes.JSON_PROPERTY_REMOTE_CONFIG_READ_ENABLED }) @jakarta.annotation.Generated( @@ -50,6 +51,10 @@ public class PartialAPIKeyAttributes { public static final String JSON_PROPERTY_NAME = "name"; private String name; + public static final String JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED = + "private_action_runner_enroll_enabled"; + private Boolean privateActionRunnerEnrollEnabled; + public static final String JSON_PROPERTY_REMOTE_CONFIG_READ_ENABLED = "remote_config_read_enabled"; private Boolean remoteConfigReadEnabled; @@ -158,6 +163,28 @@ public void setName(String name) { this.name = name; } + public PartialAPIKeyAttributes privateActionRunnerEnrollEnabled( + Boolean privateActionRunnerEnrollEnabled) { + this.privateActionRunnerEnrollEnabled = privateActionRunnerEnrollEnabled; + return this; + } + + /** + * Whether the API key can enroll a Private Action Runner. + * + * @return privateActionRunnerEnrollEnabled + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getPrivateActionRunnerEnrollEnabled() { + return privateActionRunnerEnrollEnabled; + } + + public void setPrivateActionRunnerEnrollEnabled(Boolean privateActionRunnerEnrollEnabled) { + this.privateActionRunnerEnrollEnabled = privateActionRunnerEnrollEnabled; + } + public PartialAPIKeyAttributes remoteConfigReadEnabled(Boolean remoteConfigReadEnabled) { this.remoteConfigReadEnabled = remoteConfigReadEnabled; return this; @@ -241,6 +268,9 @@ public boolean equals(Object o) { && Objects.equals(this.last4, partialApiKeyAttributes.last4) && Objects.equals(this.modifiedAt, partialApiKeyAttributes.modifiedAt) && Objects.equals(this.name, partialApiKeyAttributes.name) + && Objects.equals( + this.privateActionRunnerEnrollEnabled, + partialApiKeyAttributes.privateActionRunnerEnrollEnabled) && Objects.equals( this.remoteConfigReadEnabled, partialApiKeyAttributes.remoteConfigReadEnabled) && Objects.equals(this.additionalProperties, partialApiKeyAttributes.additionalProperties); @@ -255,6 +285,7 @@ public int hashCode() { last4, modifiedAt, name, + privateActionRunnerEnrollEnabled, remoteConfigReadEnabled, additionalProperties); } @@ -269,6 +300,9 @@ public String toString() { sb.append(" last4: ").append(toIndentedString(last4)).append("\n"); sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" privateActionRunnerEnrollEnabled: ") + .append(toIndentedString(privateActionRunnerEnrollEnabled)) + .append("\n"); sb.append(" remoteConfigReadEnabled: ") .append(toIndentedString(remoteConfigReadEnabled)) .append("\n");