From a4c4ce42c205ed87f08eb338dfd199e4dad20772 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 8 Sep 2026 09:06:29 +0000 Subject: [PATCH] Regenerate client from commit 150075a of spec repo --- .generator/schemas/v2/openapi.yaml | 16 ++++++++++++++-- .../v2/model/TicketCreationRuleAction.java | 9 ++++++++- .../model/TicketCreationRuleActionResponse.java | 9 ++++++++- .../client/v2/model/TicketCreationTarget.java | 3 ++- 4 files changed, 32 insertions(+), 5 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index e6d194c1595..68449f38c92 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -119945,7 +119945,12 @@ components: format: uuid type: string fields: - description: Custom fields of the Jira issue to create. For the list of available fields, see [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-createmeta-projectidorkey-issuetypes-issuetypeid-get). + description: |- + Target-specific fields of the ticket to create. + + For `target: jira`, the custom fields of the Jira issue. For the list of available fields, see [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-createmeta-projectidorkey-issuetypes-issuetypeid-get). + + For `target: linear`, the optional keys `linear_project_id` (string, the identifier of the Linear project the issue is created in) and `linear_label_ids` (array of strings, the identifiers of the Linear labels applied to the issue). example: labels: - security @@ -119982,7 +119987,12 @@ components: example: "Daily ticket creation limit exceeded" type: string fields: - description: Custom fields of the Jira issue to create. For the list of available fields, see [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-createmeta-projectidorkey-issuetypes-issuetypeid-get). + description: |- + Target-specific fields of the ticket to create. + + For `target: jira`, the custom fields of the Jira issue. For the list of available fields, see [Jira documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-createmeta-projectidorkey-issuetypes-issuetypeid-get). + + For `target: linear`, the optional keys `linear_project_id` (string, the identifier of the Linear project the issue is created in) and `linear_label_ids` (array of strings, the identifiers of the Linear labels applied to the issue). example: labels: - security @@ -120180,11 +120190,13 @@ components: enum: - jira - case_management + - linear example: jira type: string x-enum-varnames: - JIRA - CASE_MANAGEMENT + - LINEAR TimeAggregation: description: |- Time aggregation period (in seconds) is used to aggregate the results of the notification rule evaluation. diff --git a/src/main/java/com/datadog/api/client/v2/model/TicketCreationRuleAction.java b/src/main/java/com/datadog/api/client/v2/model/TicketCreationRuleAction.java index f2a7233f497..8e8e21bde86 100644 --- a/src/main/java/com/datadog/api/client/v2/model/TicketCreationRuleAction.java +++ b/src/main/java/com/datadog/api/client/v2/model/TicketCreationRuleAction.java @@ -86,10 +86,17 @@ public TicketCreationRuleAction fields(Object fields) { } /** - * Custom fields of the Jira issue to create. For the list of available fields, see For target: jira, the custom fields of the Jira issue. For the list of + * available fields, see Jira * documentation. * + *

For target: linear, the optional keys linear_project_id (string, + * the identifier of the Linear project the issue is created in) and linear_label_ids + * (array of strings, the identifiers of the Linear labels applied to the issue). + * * @return fields */ @jakarta.annotation.Nullable diff --git a/src/main/java/com/datadog/api/client/v2/model/TicketCreationRuleActionResponse.java b/src/main/java/com/datadog/api/client/v2/model/TicketCreationRuleActionResponse.java index d59f92bee98..92707d943d5 100644 --- a/src/main/java/com/datadog/api/client/v2/model/TicketCreationRuleActionResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/TicketCreationRuleActionResponse.java @@ -112,10 +112,17 @@ public TicketCreationRuleActionResponse fields(Object fields) { } /** - * Custom fields of the Jira issue to create. For the list of available fields, see For target: jira, the custom fields of the Jira issue. For the list of + * available fields, see Jira * documentation. * + *

For target: linear, the optional keys linear_project_id (string, + * the identifier of the Linear project the issue is created in) and linear_label_ids + * (array of strings, the identifiers of the Linear labels applied to the issue). + * * @return fields */ @jakarta.annotation.Nullable diff --git a/src/main/java/com/datadog/api/client/v2/model/TicketCreationTarget.java b/src/main/java/com/datadog/api/client/v2/model/TicketCreationTarget.java index f4c50f1c049..6c2ba393dc6 100644 --- a/src/main/java/com/datadog/api/client/v2/model/TicketCreationTarget.java +++ b/src/main/java/com/datadog/api/client/v2/model/TicketCreationTarget.java @@ -23,11 +23,12 @@ public class TicketCreationTarget extends ModelEnum { private static final Set allowedValues = - new HashSet(Arrays.asList("jira", "case_management")); + new HashSet(Arrays.asList("jira", "case_management", "linear")); public static final TicketCreationTarget JIRA = new TicketCreationTarget("jira"); public static final TicketCreationTarget CASE_MANAGEMENT = new TicketCreationTarget("case_management"); + public static final TicketCreationTarget LINEAR = new TicketCreationTarget("linear"); TicketCreationTarget(String value) { super(value, allowedValues);