Skip to content

Commit a4c4ce4

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 150075a of spec repo
1 parent 5445ba1 commit a4c4ce4

4 files changed

Lines changed: 32 additions & 5 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119945,7 +119945,12 @@ components:
119945119945
format: uuid
119946119946
type: string
119947119947
fields:
119948-
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).
119948+
description: |-
119949+
Target-specific fields of the ticket to create.
119950+
119951+
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).
119952+
119953+
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).
119949119954
example:
119950119955
labels:
119951119956
- security
@@ -119982,7 +119987,12 @@ components:
119982119987
example: "Daily ticket creation limit exceeded"
119983119988
type: string
119984119989
fields:
119985-
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).
119990+
description: |-
119991+
Target-specific fields of the ticket to create.
119992+
119993+
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).
119994+
119995+
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).
119986119996
example:
119987119997
labels:
119988119998
- security
@@ -120180,11 +120190,13 @@ components:
120180120190
enum:
120181120191
- jira
120182120192
- case_management
120193+
- linear
120183120194
example: jira
120184120195
type: string
120185120196
x-enum-varnames:
120186120197
- JIRA
120187120198
- CASE_MANAGEMENT
120199+
- LINEAR
120188120200
TimeAggregation:
120189120201
description: |-
120190120202
Time aggregation period (in seconds) is used to aggregate the results of the notification rule evaluation.

src/main/java/com/datadog/api/client/v2/model/TicketCreationRuleAction.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,17 @@ public TicketCreationRuleAction fields(Object fields) {
8686
}
8787

8888
/**
89-
* Custom fields of the Jira issue to create. For the list of available fields, see <a
89+
* Target-specific fields of the ticket to create.
90+
*
91+
* <p>For <code>target: jira</code>, the custom fields of the Jira issue. For the list of
92+
* available fields, see <a
9093
* href="https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-createmeta-projectidorkey-issuetypes-issuetypeid-get">Jira
9194
* documentation</a>.
9295
*
96+
* <p>For <code>target: linear</code>, the optional keys <code>linear_project_id</code> (string,
97+
* the identifier of the Linear project the issue is created in) and <code>linear_label_ids</code>
98+
* (array of strings, the identifiers of the Linear labels applied to the issue).
99+
*
93100
* @return fields
94101
*/
95102
@jakarta.annotation.Nullable

src/main/java/com/datadog/api/client/v2/model/TicketCreationRuleActionResponse.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,17 @@ public TicketCreationRuleActionResponse fields(Object fields) {
112112
}
113113

114114
/**
115-
* Custom fields of the Jira issue to create. For the list of available fields, see <a
115+
* Target-specific fields of the ticket to create.
116+
*
117+
* <p>For <code>target: jira</code>, the custom fields of the Jira issue. For the list of
118+
* available fields, see <a
116119
* href="https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-createmeta-projectidorkey-issuetypes-issuetypeid-get">Jira
117120
* documentation</a>.
118121
*
122+
* <p>For <code>target: linear</code>, the optional keys <code>linear_project_id</code> (string,
123+
* the identifier of the Linear project the issue is created in) and <code>linear_label_ids</code>
124+
* (array of strings, the identifiers of the Linear labels applied to the issue).
125+
*
119126
* @return fields
120127
*/
121128
@jakarta.annotation.Nullable

src/main/java/com/datadog/api/client/v2/model/TicketCreationTarget.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@
2323
public class TicketCreationTarget extends ModelEnum<String> {
2424

2525
private static final Set<String> allowedValues =
26-
new HashSet<String>(Arrays.asList("jira", "case_management"));
26+
new HashSet<String>(Arrays.asList("jira", "case_management", "linear"));
2727

2828
public static final TicketCreationTarget JIRA = new TicketCreationTarget("jira");
2929
public static final TicketCreationTarget CASE_MANAGEMENT =
3030
new TicketCreationTarget("case_management");
31+
public static final TicketCreationTarget LINEAR = new TicketCreationTarget("linear");
3132

3233
TicketCreationTarget(String value) {
3334
super(value, allowedValues);

0 commit comments

Comments
 (0)