1818
1919/** Contains the identifiers and URL for a successfully created Jira issue. */
2020@ JsonPropertyOrder ({
21+ IssueCaseJiraIssueResult .JSON_PROPERTY_ACCOUNT_ID ,
2122 IssueCaseJiraIssueResult .JSON_PROPERTY_ISSUE_ID ,
2223 IssueCaseJiraIssueResult .JSON_PROPERTY_ISSUE_KEY ,
2324 IssueCaseJiraIssueResult .JSON_PROPERTY_ISSUE_URL ,
25+ IssueCaseJiraIssueResult .JSON_PROPERTY_PROJECT_ID ,
2426 IssueCaseJiraIssueResult .JSON_PROPERTY_PROJECT_KEY
2527})
2628@ jakarta .annotation .Generated (
2729 value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator" )
2830public class IssueCaseJiraIssueResult {
2931 @ JsonIgnore public boolean unparsed = false ;
32+ public static final String JSON_PROPERTY_ACCOUNT_ID = "account_id" ;
33+ private String accountId ;
34+
3035 public static final String JSON_PROPERTY_ISSUE_ID = "issue_id" ;
3136 private String issueId ;
3237
@@ -36,9 +41,33 @@ public class IssueCaseJiraIssueResult {
3641 public static final String JSON_PROPERTY_ISSUE_URL = "issue_url" ;
3742 private String issueUrl ;
3843
44+ public static final String JSON_PROPERTY_PROJECT_ID = "project_id" ;
45+ private String projectId ;
46+
3947 public static final String JSON_PROPERTY_PROJECT_KEY = "project_key" ;
4048 private String projectKey ;
4149
50+ public IssueCaseJiraIssueResult accountId (String accountId ) {
51+ this .accountId = accountId ;
52+ return this ;
53+ }
54+
55+ /**
56+ * Jira account identifier.
57+ *
58+ * @return accountId
59+ */
60+ @ jakarta .annotation .Nullable
61+ @ JsonProperty (JSON_PROPERTY_ACCOUNT_ID )
62+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
63+ public String getAccountId () {
64+ return accountId ;
65+ }
66+
67+ public void setAccountId (String accountId ) {
68+ this .accountId = accountId ;
69+ }
70+
4271 public IssueCaseJiraIssueResult issueId (String issueId ) {
4372 this .issueId = issueId ;
4473 return this ;
@@ -102,6 +131,27 @@ public void setIssueUrl(String issueUrl) {
102131 this .issueUrl = issueUrl ;
103132 }
104133
134+ public IssueCaseJiraIssueResult projectId (String projectId ) {
135+ this .projectId = projectId ;
136+ return this ;
137+ }
138+
139+ /**
140+ * Jira project identifier.
141+ *
142+ * @return projectId
143+ */
144+ @ jakarta .annotation .Nullable
145+ @ JsonProperty (JSON_PROPERTY_PROJECT_ID )
146+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
147+ public String getProjectId () {
148+ return projectId ;
149+ }
150+
151+ public void setProjectId (String projectId ) {
152+ this .projectId = projectId ;
153+ }
154+
105155 public IssueCaseJiraIssueResult projectKey (String projectKey ) {
106156 this .projectKey = projectKey ;
107157 return this ;
@@ -179,25 +229,30 @@ public boolean equals(Object o) {
179229 return false ;
180230 }
181231 IssueCaseJiraIssueResult issueCaseJiraIssueResult = (IssueCaseJiraIssueResult ) o ;
182- return Objects .equals (this .issueId , issueCaseJiraIssueResult .issueId )
232+ return Objects .equals (this .accountId , issueCaseJiraIssueResult .accountId )
233+ && Objects .equals (this .issueId , issueCaseJiraIssueResult .issueId )
183234 && Objects .equals (this .issueKey , issueCaseJiraIssueResult .issueKey )
184235 && Objects .equals (this .issueUrl , issueCaseJiraIssueResult .issueUrl )
236+ && Objects .equals (this .projectId , issueCaseJiraIssueResult .projectId )
185237 && Objects .equals (this .projectKey , issueCaseJiraIssueResult .projectKey )
186238 && Objects .equals (this .additionalProperties , issueCaseJiraIssueResult .additionalProperties );
187239 }
188240
189241 @ Override
190242 public int hashCode () {
191- return Objects .hash (issueId , issueKey , issueUrl , projectKey , additionalProperties );
243+ return Objects .hash (
244+ accountId , issueId , issueKey , issueUrl , projectId , projectKey , additionalProperties );
192245 }
193246
194247 @ Override
195248 public String toString () {
196249 StringBuilder sb = new StringBuilder ();
197250 sb .append ("class IssueCaseJiraIssueResult {\n " );
251+ sb .append (" accountId: " ).append (toIndentedString (accountId )).append ("\n " );
198252 sb .append (" issueId: " ).append (toIndentedString (issueId )).append ("\n " );
199253 sb .append (" issueKey: " ).append (toIndentedString (issueKey )).append ("\n " );
200254 sb .append (" issueUrl: " ).append (toIndentedString (issueUrl )).append ("\n " );
255+ sb .append (" projectId: " ).append (toIndentedString (projectId )).append ("\n " );
201256 sb .append (" projectKey: " ).append (toIndentedString (projectKey )).append ("\n " );
202257 sb .append (" additionalProperties: " )
203258 .append (toIndentedString (additionalProperties ))
0 commit comments