Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "eea03ed",
"generated": "2025-07-21 08:52:37.889"
"spec_repo_commit": "06ccc32",
"generated": "2025-07-21 13:56:40.276"
}
8 changes: 8 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18895,6 +18895,14 @@ components:
description: The total account usage.
format: int64
type: integer
account_committed_usage:
description: The total account committed usage.
format: int64
type: integer
account_on_demand_usage:
description: The total account on-demand usage.
format: int64
type: integer
elapsed_usage_hours:
description: Elapsed usage hours for some billable product.
format: int64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
/** Response with properties for each aggregated usage type. */
@JsonPropertyOrder({
UsageBillableSummaryBody.JSON_PROPERTY_ACCOUNT_BILLABLE_USAGE,
UsageBillableSummaryBody.JSON_PROPERTY_ACCOUNT_COMMITTED_USAGE,
UsageBillableSummaryBody.JSON_PROPERTY_ACCOUNT_ON_DEMAND_USAGE,
UsageBillableSummaryBody.JSON_PROPERTY_ELAPSED_USAGE_HOURS,
UsageBillableSummaryBody.JSON_PROPERTY_FIRST_BILLABLE_USAGE_HOUR,
UsageBillableSummaryBody.JSON_PROPERTY_LAST_BILLABLE_USAGE_HOUR,
Expand All @@ -34,6 +36,12 @@ public class UsageBillableSummaryBody {
public static final String JSON_PROPERTY_ACCOUNT_BILLABLE_USAGE = "account_billable_usage";
private Long accountBillableUsage;

public static final String JSON_PROPERTY_ACCOUNT_COMMITTED_USAGE = "account_committed_usage";
private Long accountCommittedUsage;

public static final String JSON_PROPERTY_ACCOUNT_ON_DEMAND_USAGE = "account_on_demand_usage";
private Long accountOnDemandUsage;

public static final String JSON_PROPERTY_ELAPSED_USAGE_HOURS = "elapsed_usage_hours";
private Long elapsedUsageHours;

Expand Down Expand Up @@ -73,6 +81,48 @@ public void setAccountBillableUsage(Long accountBillableUsage) {
this.accountBillableUsage = accountBillableUsage;
}

public UsageBillableSummaryBody accountCommittedUsage(Long accountCommittedUsage) {
this.accountCommittedUsage = accountCommittedUsage;
return this;
}

/**
* The total account committed usage.
*
* @return accountCommittedUsage
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ACCOUNT_COMMITTED_USAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getAccountCommittedUsage() {
return accountCommittedUsage;
}

public void setAccountCommittedUsage(Long accountCommittedUsage) {
this.accountCommittedUsage = accountCommittedUsage;
}

public UsageBillableSummaryBody accountOnDemandUsage(Long accountOnDemandUsage) {
this.accountOnDemandUsage = accountOnDemandUsage;
return this;
}

/**
* The total account on-demand usage.
*
* @return accountOnDemandUsage
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ACCOUNT_ON_DEMAND_USAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getAccountOnDemandUsage() {
return accountOnDemandUsage;
}

public void setAccountOnDemandUsage(Long accountOnDemandUsage) {
this.accountOnDemandUsage = accountOnDemandUsage;
}

public UsageBillableSummaryBody elapsedUsageHours(Long elapsedUsageHours) {
this.elapsedUsageHours = elapsedUsageHours;
return this;
Expand Down Expand Up @@ -256,6 +306,9 @@ public boolean equals(Object o) {
}
UsageBillableSummaryBody usageBillableSummaryBody = (UsageBillableSummaryBody) o;
return Objects.equals(this.accountBillableUsage, usageBillableSummaryBody.accountBillableUsage)
&& Objects.equals(
this.accountCommittedUsage, usageBillableSummaryBody.accountCommittedUsage)
&& Objects.equals(this.accountOnDemandUsage, usageBillableSummaryBody.accountOnDemandUsage)
&& Objects.equals(this.elapsedUsageHours, usageBillableSummaryBody.elapsedUsageHours)
&& Objects.equals(
this.firstBillableUsageHour, usageBillableSummaryBody.firstBillableUsageHour)
Expand All @@ -271,6 +324,8 @@ public boolean equals(Object o) {
public int hashCode() {
return Objects.hash(
accountBillableUsage,
accountCommittedUsage,
accountOnDemandUsage,
elapsedUsageHours,
firstBillableUsageHour,
lastBillableUsageHour,
Expand All @@ -287,6 +342,12 @@ public String toString() {
sb.append(" accountBillableUsage: ")
.append(toIndentedString(accountBillableUsage))
.append("\n");
sb.append(" accountCommittedUsage: ")
.append(toIndentedString(accountCommittedUsage))
.append("\n");
sb.append(" accountOnDemandUsage: ")
.append(toIndentedString(accountOnDemandUsage))
.append("\n");
sb.append(" elapsedUsageHours: ").append(toIndentedString(elapsedUsageHours)).append("\n");
sb.append(" firstBillableUsageHour: ")
.append(toIndentedString(firstBillableUsageHour))
Expand Down