Skip to content

Commit c44adaf

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6503928a of spec repo
1 parent e5d9be1 commit c44adaf

File tree

4 files changed

+70
-4
lines changed

4 files changed

+70
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2023-01-12 19:45:59.550596",
8-
"spec_repo_commit": "8506d30d"
7+
"regenerated": "2023-01-13 14:14:16.899253",
8+
"spec_repo_commit": "6503928a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-01-12 19:45:59.562675",
13-
"spec_repo_commit": "8506d30d"
12+
"regenerated": "2023-01-13 14:14:16.910804",
13+
"spec_repo_commit": "6503928a"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9785,6 +9785,10 @@ components:
97859785
description: User ID of the user who created the rule.
97869786
format: int64
97879787
type: integer
9788+
deprecationDate:
9789+
description: When the rule will be deprecated, timestamp in milliseconds.
9790+
format: int64
9791+
type: integer
97889792
filters:
97899793
description: Additional queries to filter matched events before they are
97909794
processed.
@@ -10154,6 +10158,10 @@ components:
1015410158
description: User ID of the user who created the rule.
1015510159
format: int64
1015610160
type: integer
10161+
deprecationDate:
10162+
description: When the rule will be deprecated, timestamp in milliseconds.
10163+
format: int64
10164+
type: integer
1015710165
filters:
1015810166
description: Additional queries to filter matched events before they are
1015910167
processed.

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_CASES,
2020
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_CREATED_AT,
2121
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_CREATION_AUTHOR_ID,
22+
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_DEPRECATION_DATE,
2223
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_FILTERS,
2324
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_HAS_EXTENDED_TITLE,
2425
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_ID,
@@ -47,6 +48,9 @@ public class SecurityMonitoringSignalRuleResponse {
4748
public static final String JSON_PROPERTY_CREATION_AUTHOR_ID = "creationAuthorId";
4849
private Long creationAuthorId;
4950

51+
public static final String JSON_PROPERTY_DEPRECATION_DATE = "deprecationDate";
52+
private Long deprecationDate;
53+
5054
public static final String JSON_PROPERTY_FILTERS = "filters";
5155
private List<SecurityMonitoringFilter> filters = null;
5256

@@ -164,6 +168,27 @@ public void setCreationAuthorId(Long creationAuthorId) {
164168
this.creationAuthorId = creationAuthorId;
165169
}
166170

171+
public SecurityMonitoringSignalRuleResponse deprecationDate(Long deprecationDate) {
172+
this.deprecationDate = deprecationDate;
173+
return this;
174+
}
175+
176+
/**
177+
* When the rule will be deprecated, timestamp in milliseconds.
178+
*
179+
* @return deprecationDate
180+
*/
181+
@jakarta.annotation.Nullable
182+
@JsonProperty(JSON_PROPERTY_DEPRECATION_DATE)
183+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
184+
public Long getDeprecationDate() {
185+
return deprecationDate;
186+
}
187+
188+
public void setDeprecationDate(Long deprecationDate) {
189+
this.deprecationDate = deprecationDate;
190+
}
191+
167192
public SecurityMonitoringSignalRuleResponse filters(List<SecurityMonitoringFilter> filters) {
168193
this.filters = filters;
169194
for (SecurityMonitoringFilter item : filters) {
@@ -512,6 +537,8 @@ public boolean equals(Object o) {
512537
&& Objects.equals(this.createdAt, securityMonitoringSignalRuleResponse.createdAt)
513538
&& Objects.equals(
514539
this.creationAuthorId, securityMonitoringSignalRuleResponse.creationAuthorId)
540+
&& Objects.equals(
541+
this.deprecationDate, securityMonitoringSignalRuleResponse.deprecationDate)
515542
&& Objects.equals(this.filters, securityMonitoringSignalRuleResponse.filters)
516543
&& Objects.equals(
517544
this.hasExtendedTitle, securityMonitoringSignalRuleResponse.hasExtendedTitle)
@@ -535,6 +562,7 @@ public int hashCode() {
535562
cases,
536563
createdAt,
537564
creationAuthorId,
565+
deprecationDate,
538566
filters,
539567
hasExtendedTitle,
540568
id,
@@ -558,6 +586,7 @@ public String toString() {
558586
sb.append(" cases: ").append(toIndentedString(cases)).append("\n");
559587
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
560588
sb.append(" creationAuthorId: ").append(toIndentedString(creationAuthorId)).append("\n");
589+
sb.append(" deprecationDate: ").append(toIndentedString(deprecationDate)).append("\n");
561590
sb.append(" filters: ").append(toIndentedString(filters)).append("\n");
562591
sb.append(" hasExtendedTitle: ").append(toIndentedString(hasExtendedTitle)).append("\n");
563592
sb.append(" id: ").append(toIndentedString(id)).append("\n");

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_COMPLIANCE_SIGNAL_OPTIONS,
2121
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_CREATED_AT,
2222
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_CREATION_AUTHOR_ID,
23+
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_DEPRECATION_DATE,
2324
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_FILTERS,
2425
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_HAS_EXTENDED_TITLE,
2526
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_ID,
@@ -51,6 +52,9 @@ public class SecurityMonitoringStandardRuleResponse {
5152
public static final String JSON_PROPERTY_CREATION_AUTHOR_ID = "creationAuthorId";
5253
private Long creationAuthorId;
5354

55+
public static final String JSON_PROPERTY_DEPRECATION_DATE = "deprecationDate";
56+
private Long deprecationDate;
57+
5458
public static final String JSON_PROPERTY_FILTERS = "filters";
5559
private List<SecurityMonitoringFilter> filters = null;
5660

@@ -192,6 +196,27 @@ public void setCreationAuthorId(Long creationAuthorId) {
192196
this.creationAuthorId = creationAuthorId;
193197
}
194198

199+
public SecurityMonitoringStandardRuleResponse deprecationDate(Long deprecationDate) {
200+
this.deprecationDate = deprecationDate;
201+
return this;
202+
}
203+
204+
/**
205+
* When the rule will be deprecated, timestamp in milliseconds.
206+
*
207+
* @return deprecationDate
208+
*/
209+
@jakarta.annotation.Nullable
210+
@JsonProperty(JSON_PROPERTY_DEPRECATION_DATE)
211+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
212+
public Long getDeprecationDate() {
213+
return deprecationDate;
214+
}
215+
216+
public void setDeprecationDate(Long deprecationDate) {
217+
this.deprecationDate = deprecationDate;
218+
}
219+
195220
public SecurityMonitoringStandardRuleResponse filters(List<SecurityMonitoringFilter> filters) {
196221
this.filters = filters;
197222
for (SecurityMonitoringFilter item : filters) {
@@ -544,6 +569,8 @@ public boolean equals(Object o) {
544569
&& Objects.equals(this.createdAt, securityMonitoringStandardRuleResponse.createdAt)
545570
&& Objects.equals(
546571
this.creationAuthorId, securityMonitoringStandardRuleResponse.creationAuthorId)
572+
&& Objects.equals(
573+
this.deprecationDate, securityMonitoringStandardRuleResponse.deprecationDate)
547574
&& Objects.equals(this.filters, securityMonitoringStandardRuleResponse.filters)
548575
&& Objects.equals(
549576
this.hasExtendedTitle, securityMonitoringStandardRuleResponse.hasExtendedTitle)
@@ -569,6 +596,7 @@ public int hashCode() {
569596
complianceSignalOptions,
570597
createdAt,
571598
creationAuthorId,
599+
deprecationDate,
572600
filters,
573601
hasExtendedTitle,
574602
id,
@@ -595,6 +623,7 @@ public String toString() {
595623
.append("\n");
596624
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
597625
sb.append(" creationAuthorId: ").append(toIndentedString(creationAuthorId)).append("\n");
626+
sb.append(" deprecationDate: ").append(toIndentedString(deprecationDate)).append("\n");
598627
sb.append(" filters: ").append(toIndentedString(filters)).append("\n");
599628
sb.append(" hasExtendedTitle: ").append(toIndentedString(hasExtendedTitle)).append("\n");
600629
sb.append(" id: ").append(toIndentedString(id)).append("\n");

0 commit comments

Comments
 (0)