Skip to content

Commit

Permalink
Regenerate client from commit f5badbc2 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 13, 2023
1 parent e5d9be1 commit a608ad5
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-01-12 19:45:59.550596",
"spec_repo_commit": "8506d30d"
"regenerated": "2023-01-13 16:20:05.273551",
"spec_repo_commit": "f5badbc2"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-01-12 19:45:59.562675",
"spec_repo_commit": "8506d30d"
"regenerated": "2023-01-13 16:20:05.285471",
"spec_repo_commit": "f5badbc2"
}
}
}
8 changes: 8 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9785,6 +9785,10 @@ components:
description: User ID of the user who created the rule.
format: int64
type: integer
deprecationDate:
description: When the rule will be deprecated, timestamp in milliseconds.
format: int64
type: integer
filters:
description: Additional queries to filter matched events before they are
processed.
Expand Down Expand Up @@ -10154,6 +10158,10 @@ components:
description: User ID of the user who created the rule.
format: int64
type: integer
deprecationDate:
description: When the rule will be deprecated, timestamp in milliseconds.
format: int64
type: integer
filters:
description: Additional queries to filter matched events before they are
processed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_CASES,
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_CREATED_AT,
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_CREATION_AUTHOR_ID,
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_DEPRECATION_DATE,
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_FILTERS,
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_HAS_EXTENDED_TITLE,
SecurityMonitoringSignalRuleResponse.JSON_PROPERTY_ID,
Expand Down Expand Up @@ -47,6 +48,9 @@ public class SecurityMonitoringSignalRuleResponse {
public static final String JSON_PROPERTY_CREATION_AUTHOR_ID = "creationAuthorId";
private Long creationAuthorId;

public static final String JSON_PROPERTY_DEPRECATION_DATE = "deprecationDate";
private Long deprecationDate;

public static final String JSON_PROPERTY_FILTERS = "filters";
private List<SecurityMonitoringFilter> filters = null;

Expand Down Expand Up @@ -164,6 +168,27 @@ public void setCreationAuthorId(Long creationAuthorId) {
this.creationAuthorId = creationAuthorId;
}

public SecurityMonitoringSignalRuleResponse deprecationDate(Long deprecationDate) {
this.deprecationDate = deprecationDate;
return this;
}

/**
* When the rule will be deprecated, timestamp in milliseconds.
*
* @return deprecationDate
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEPRECATION_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getDeprecationDate() {
return deprecationDate;
}

public void setDeprecationDate(Long deprecationDate) {
this.deprecationDate = deprecationDate;
}

public SecurityMonitoringSignalRuleResponse filters(List<SecurityMonitoringFilter> filters) {
this.filters = filters;
for (SecurityMonitoringFilter item : filters) {
Expand Down Expand Up @@ -512,6 +537,8 @@ public boolean equals(Object o) {
&& Objects.equals(this.createdAt, securityMonitoringSignalRuleResponse.createdAt)
&& Objects.equals(
this.creationAuthorId, securityMonitoringSignalRuleResponse.creationAuthorId)
&& Objects.equals(
this.deprecationDate, securityMonitoringSignalRuleResponse.deprecationDate)
&& Objects.equals(this.filters, securityMonitoringSignalRuleResponse.filters)
&& Objects.equals(
this.hasExtendedTitle, securityMonitoringSignalRuleResponse.hasExtendedTitle)
Expand All @@ -535,6 +562,7 @@ public int hashCode() {
cases,
createdAt,
creationAuthorId,
deprecationDate,
filters,
hasExtendedTitle,
id,
Expand All @@ -558,6 +586,7 @@ public String toString() {
sb.append(" cases: ").append(toIndentedString(cases)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" creationAuthorId: ").append(toIndentedString(creationAuthorId)).append("\n");
sb.append(" deprecationDate: ").append(toIndentedString(deprecationDate)).append("\n");
sb.append(" filters: ").append(toIndentedString(filters)).append("\n");
sb.append(" hasExtendedTitle: ").append(toIndentedString(hasExtendedTitle)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_COMPLIANCE_SIGNAL_OPTIONS,
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_CREATED_AT,
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_CREATION_AUTHOR_ID,
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_DEPRECATION_DATE,
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_FILTERS,
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_HAS_EXTENDED_TITLE,
SecurityMonitoringStandardRuleResponse.JSON_PROPERTY_ID,
Expand Down Expand Up @@ -51,6 +52,9 @@ public class SecurityMonitoringStandardRuleResponse {
public static final String JSON_PROPERTY_CREATION_AUTHOR_ID = "creationAuthorId";
private Long creationAuthorId;

public static final String JSON_PROPERTY_DEPRECATION_DATE = "deprecationDate";
private Long deprecationDate;

public static final String JSON_PROPERTY_FILTERS = "filters";
private List<SecurityMonitoringFilter> filters = null;

Expand Down Expand Up @@ -192,6 +196,27 @@ public void setCreationAuthorId(Long creationAuthorId) {
this.creationAuthorId = creationAuthorId;
}

public SecurityMonitoringStandardRuleResponse deprecationDate(Long deprecationDate) {
this.deprecationDate = deprecationDate;
return this;
}

/**
* When the rule will be deprecated, timestamp in milliseconds.
*
* @return deprecationDate
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEPRECATION_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getDeprecationDate() {
return deprecationDate;
}

public void setDeprecationDate(Long deprecationDate) {
this.deprecationDate = deprecationDate;
}

public SecurityMonitoringStandardRuleResponse filters(List<SecurityMonitoringFilter> filters) {
this.filters = filters;
for (SecurityMonitoringFilter item : filters) {
Expand Down Expand Up @@ -544,6 +569,8 @@ public boolean equals(Object o) {
&& Objects.equals(this.createdAt, securityMonitoringStandardRuleResponse.createdAt)
&& Objects.equals(
this.creationAuthorId, securityMonitoringStandardRuleResponse.creationAuthorId)
&& Objects.equals(
this.deprecationDate, securityMonitoringStandardRuleResponse.deprecationDate)
&& Objects.equals(this.filters, securityMonitoringStandardRuleResponse.filters)
&& Objects.equals(
this.hasExtendedTitle, securityMonitoringStandardRuleResponse.hasExtendedTitle)
Expand All @@ -569,6 +596,7 @@ public int hashCode() {
complianceSignalOptions,
createdAt,
creationAuthorId,
deprecationDate,
filters,
hasExtendedTitle,
id,
Expand All @@ -595,6 +623,7 @@ public String toString() {
.append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" creationAuthorId: ").append(toIndentedString(creationAuthorId)).append("\n");
sb.append(" deprecationDate: ").append(toIndentedString(deprecationDate)).append("\n");
sb.append(" filters: ").append(toIndentedString(filters)).append("\n");
sb.append(" hasExtendedTitle: ").append(toIndentedString(hasExtendedTitle)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
Expand Down

0 comments on commit a608ad5

Please sign in to comment.