From 0ee18e1c88d9afed8a0800fcb1c9a792cc745817 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 26 Jul 2023 14:19:33 +0000 Subject: [PATCH] Regenerate client from commit 835cb6df of spec repo --- .apigentools-info | 8 ++--- .generator/schemas/v1/openapi.yaml | 15 ++++++++ .../api/client/v1/model/UsageSummaryDate.java | 34 ++++++++++++++++++- .../client/v1/model/UsageSummaryDateOrg.java | 34 ++++++++++++++++++- .../client/v1/model/UsageSummaryResponse.java | 34 ++++++++++++++++++- 5 files changed, 118 insertions(+), 7 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index be822f8c836..f39e3aa9dd7 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-25 21:17:50.886294", - "spec_repo_commit": "91969c8e" + "regenerated": "2023-07-26 14:17:56.058712", + "spec_repo_commit": "835cb6df" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-25 21:17:50.903026", - "spec_repo_commit": "91969c8e" + "regenerated": "2023-07-26 14:17:56.072309", + "spec_repo_commit": "835cb6df" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index c8174dc5a6e..73706f55a7a 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -17879,6 +17879,11 @@ components: Management hosts over all hours in the current date for the given org. format: int64 type: integer + workflow_executions_usage_sum: + description: Sum of all workflows executed over all hours in the current + date for all organizations. + format: int64 + type: integer type: object UsageSummaryDateOrg: description: Global hourly report of all data billed by Datadog for a given @@ -18304,6 +18309,11 @@ components: Management hosts over all hours in the current date for the given org. format: int64 type: integer + workflow_executions_usage_sum: + description: Sum of all workflows executed over all hours in the current + date for the given org. + format: int64 + type: integer type: object UsageSummaryResponse: description: Response summarizing all usage aggregated across the months in @@ -18777,6 +18787,11 @@ components: Management hosts over all hours in the current months for all organizations. format: int64 type: integer + workflow_executions_usage_agg_sum: + description: Sum of all workflows executed over all hours in the current + months for all organizations. + format: int64 + type: integer type: object UsageSyntheticsAPIHour: description: Number of Synthetics API tests run for each hour for a given organization. diff --git a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java index dd3081fb8ae..6b9e1178a41 100644 --- a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java +++ b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java @@ -103,7 +103,8 @@ UsageSummaryDate.JSON_PROPERTY_TWOL_INGESTED_EVENTS_BYTES_SUM, UsageSummaryDate.JSON_PROPERTY_UNIVERSAL_SERVICE_MONITORING_HOST_TOP99P, UsageSummaryDate.JSON_PROPERTY_VSPHERE_HOST_TOP99P, - UsageSummaryDate.JSON_PROPERTY_VULN_MANAGEMENT_HOST_COUNT_TOP99P + UsageSummaryDate.JSON_PROPERTY_VULN_MANAGEMENT_HOST_COUNT_TOP99P, + UsageSummaryDate.JSON_PROPERTY_WORKFLOW_EXECUTIONS_USAGE_SUM }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -396,6 +397,10 @@ public class UsageSummaryDate { "vuln_management_host_count_top99p"; private Long vulnManagementHostCountTop99p; + public static final String JSON_PROPERTY_WORKFLOW_EXECUTIONS_USAGE_SUM = + "workflow_executions_usage_sum"; + private Long workflowExecutionsUsageSum; + public UsageSummaryDate agentHostTop99p(Long agentHostTop99p) { this.agentHostTop99p = agentHostTop99p; return this; @@ -2240,6 +2245,27 @@ public void setVulnManagementHostCountTop99p(Long vulnManagementHostCountTop99p) this.vulnManagementHostCountTop99p = vulnManagementHostCountTop99p; } + public UsageSummaryDate workflowExecutionsUsageSum(Long workflowExecutionsUsageSum) { + this.workflowExecutionsUsageSum = workflowExecutionsUsageSum; + return this; + } + + /** + * Sum of all workflows executed over all hours in the current date for all organizations. + * + * @return workflowExecutionsUsageSum + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_WORKFLOW_EXECUTIONS_USAGE_SUM) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getWorkflowExecutionsUsageSum() { + return workflowExecutionsUsageSum; + } + + public void setWorkflowExecutionsUsageSum(Long workflowExecutionsUsageSum) { + this.workflowExecutionsUsageSum = workflowExecutionsUsageSum; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -2417,6 +2443,8 @@ public boolean equals(Object o) { && Objects.equals(this.vsphereHostTop99p, usageSummaryDate.vsphereHostTop99p) && Objects.equals( this.vulnManagementHostCountTop99p, usageSummaryDate.vulnManagementHostCountTop99p) + && Objects.equals( + this.workflowExecutionsUsageSum, usageSummaryDate.workflowExecutionsUsageSum) && Objects.equals(this.additionalProperties, usageSummaryDate.additionalProperties); } @@ -2506,6 +2534,7 @@ public int hashCode() { universalServiceMonitoringHostTop99p, vsphereHostTop99p, vulnManagementHostCountTop99p, + workflowExecutionsUsageSum, additionalProperties); } @@ -2702,6 +2731,9 @@ public String toString() { sb.append(" vulnManagementHostCountTop99p: ") .append(toIndentedString(vulnManagementHostCountTop99p)) .append("\n"); + sb.append(" workflowExecutionsUsageSum: ") + .append(toIndentedString(workflowExecutionsUsageSum)) + .append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java index 460333cb828..f18d57c4bda 100644 --- a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java +++ b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java @@ -102,7 +102,8 @@ UsageSummaryDateOrg.JSON_PROPERTY_TWOL_INGESTED_EVENTS_BYTES_SUM, UsageSummaryDateOrg.JSON_PROPERTY_UNIVERSAL_SERVICE_MONITORING_HOST_TOP99P, UsageSummaryDateOrg.JSON_PROPERTY_VSPHERE_HOST_TOP99P, - UsageSummaryDateOrg.JSON_PROPERTY_VULN_MANAGEMENT_HOST_COUNT_TOP99P + UsageSummaryDateOrg.JSON_PROPERTY_VULN_MANAGEMENT_HOST_COUNT_TOP99P, + UsageSummaryDateOrg.JSON_PROPERTY_WORKFLOW_EXECUTIONS_USAGE_SUM }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -401,6 +402,10 @@ public class UsageSummaryDateOrg { "vuln_management_host_count_top99p"; private Long vulnManagementHostCountTop99p; + public static final String JSON_PROPERTY_WORKFLOW_EXECUTIONS_USAGE_SUM = + "workflow_executions_usage_sum"; + private Long workflowExecutionsUsageSum; + public UsageSummaryDateOrg agentHostTop99p(Long agentHostTop99p) { this.agentHostTop99p = agentHostTop99p; return this; @@ -2266,6 +2271,27 @@ public void setVulnManagementHostCountTop99p(Long vulnManagementHostCountTop99p) this.vulnManagementHostCountTop99p = vulnManagementHostCountTop99p; } + public UsageSummaryDateOrg workflowExecutionsUsageSum(Long workflowExecutionsUsageSum) { + this.workflowExecutionsUsageSum = workflowExecutionsUsageSum; + return this; + } + + /** + * Sum of all workflows executed over all hours in the current date for the given org. + * + * @return workflowExecutionsUsageSum + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_WORKFLOW_EXECUTIONS_USAGE_SUM) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getWorkflowExecutionsUsageSum() { + return workflowExecutionsUsageSum; + } + + public void setWorkflowExecutionsUsageSum(Long workflowExecutionsUsageSum) { + this.workflowExecutionsUsageSum = workflowExecutionsUsageSum; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -2455,6 +2481,8 @@ public boolean equals(Object o) { && Objects.equals(this.vsphereHostTop99p, usageSummaryDateOrg.vsphereHostTop99p) && Objects.equals( this.vulnManagementHostCountTop99p, usageSummaryDateOrg.vulnManagementHostCountTop99p) + && Objects.equals( + this.workflowExecutionsUsageSum, usageSummaryDateOrg.workflowExecutionsUsageSum) && Objects.equals(this.additionalProperties, usageSummaryDateOrg.additionalProperties); } @@ -2546,6 +2574,7 @@ public int hashCode() { universalServiceMonitoringHostTop99p, vsphereHostTop99p, vulnManagementHostCountTop99p, + workflowExecutionsUsageSum, additionalProperties); } @@ -2744,6 +2773,9 @@ public String toString() { sb.append(" vulnManagementHostCountTop99p: ") .append(toIndentedString(vulnManagementHostCountTop99p)) .append("\n"); + sb.append(" workflowExecutionsUsageSum: ") + .append(toIndentedString(workflowExecutionsUsageSum)) + .append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java index 1e2164cf2f6..bca236f6cc3 100644 --- a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java +++ b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java @@ -115,7 +115,8 @@ UsageSummaryResponse.JSON_PROPERTY_UNIVERSAL_SERVICE_MONITORING_HOST_TOP99P_SUM, UsageSummaryResponse.JSON_PROPERTY_USAGE, UsageSummaryResponse.JSON_PROPERTY_VSPHERE_HOST_TOP99P_SUM, - UsageSummaryResponse.JSON_PROPERTY_VULN_MANAGEMENT_HOST_COUNT_TOP99P_SUM + UsageSummaryResponse.JSON_PROPERTY_VULN_MANAGEMENT_HOST_COUNT_TOP99P_SUM, + UsageSummaryResponse.JSON_PROPERTY_WORKFLOW_EXECUTIONS_USAGE_AGG_SUM }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -452,6 +453,10 @@ public class UsageSummaryResponse { "vuln_management_host_count_top99p_sum"; private Long vulnManagementHostCountTop99pSum; + public static final String JSON_PROPERTY_WORKFLOW_EXECUTIONS_USAGE_AGG_SUM = + "workflow_executions_usage_agg_sum"; + private Long workflowExecutionsUsageAggSum; + public UsageSummaryResponse agentHostTop99pSum(Long agentHostTop99pSum) { this.agentHostTop99pSum = agentHostTop99pSum; return this; @@ -2514,6 +2519,27 @@ public void setVulnManagementHostCountTop99pSum(Long vulnManagementHostCountTop9 this.vulnManagementHostCountTop99pSum = vulnManagementHostCountTop99pSum; } + public UsageSummaryResponse workflowExecutionsUsageAggSum(Long workflowExecutionsUsageAggSum) { + this.workflowExecutionsUsageAggSum = workflowExecutionsUsageAggSum; + return this; + } + + /** + * Sum of all workflows executed over all hours in the current months for all organizations. + * + * @return workflowExecutionsUsageAggSum + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_WORKFLOW_EXECUTIONS_USAGE_AGG_SUM) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getWorkflowExecutionsUsageAggSum() { + return workflowExecutionsUsageAggSum; + } + + public void setWorkflowExecutionsUsageAggSum(Long workflowExecutionsUsageAggSum) { + this.workflowExecutionsUsageAggSum = workflowExecutionsUsageAggSum; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -2741,6 +2767,8 @@ public boolean equals(Object o) { && Objects.equals( this.vulnManagementHostCountTop99pSum, usageSummaryResponse.vulnManagementHostCountTop99pSum) + && Objects.equals( + this.workflowExecutionsUsageAggSum, usageSummaryResponse.workflowExecutionsUsageAggSum) && Objects.equals(this.additionalProperties, usageSummaryResponse.additionalProperties); } @@ -2839,6 +2867,7 @@ public int hashCode() { usage, vsphereHostTop99pSum, vulnManagementHostCountTop99pSum, + workflowExecutionsUsageAggSum, additionalProperties); } @@ -3076,6 +3105,9 @@ public String toString() { sb.append(" vulnManagementHostCountTop99pSum: ") .append(toIndentedString(vulnManagementHostCountTop99pSum)) .append("\n"); + sb.append(" workflowExecutionsUsageAggSum: ") + .append(toIndentedString(workflowExecutionsUsageAggSum)) + .append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n");