Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ public class GetQuotaResponse {
@SerializedName(SERIALIZED_NAME_REGION)
@javax.annotation.Nullable private String region;

public static final String SERIALIZED_NAME_USED_CREDENTIALS = "usedCredentials";

@SerializedName(SERIALIZED_NAME_USED_CREDENTIALS)
@javax.annotation.Nullable private Integer usedCredentials;

public static final String SERIALIZED_NAME_USED_LOAD_BALANCERS = "usedLoadBalancers";

@SerializedName(SERIALIZED_NAME_USED_LOAD_BALANCERS)
@javax.annotation.Nullable private Integer usedLoadBalancers;

public GetQuotaResponse() {}

public GetQuotaResponse(UUID projectId, String region) {
Expand Down Expand Up @@ -118,6 +128,45 @@ public void setMaxLoadBalancers(@javax.annotation.Nullable Integer maxLoadBalanc
return region;
}

public GetQuotaResponse usedCredentials(@javax.annotation.Nullable Integer usedCredentials) {
this.usedCredentials = usedCredentials;
return this;
}

/**
* The number of observability credentials that are currently existing in this project. minimum:
* -1 maximum: 1000000
*
* @return usedCredentials
*/
@javax.annotation.Nullable public Integer getUsedCredentials() {
return usedCredentials;
}

public void setUsedCredentials(@javax.annotation.Nullable Integer usedCredentials) {
this.usedCredentials = usedCredentials;
}

public GetQuotaResponse usedLoadBalancers(
@javax.annotation.Nullable Integer usedLoadBalancers) {
this.usedLoadBalancers = usedLoadBalancers;
return this;
}

/**
* The number of load balancing servers that are currently existing in this project. minimum: -1
* maximum: 1000000
*
* @return usedLoadBalancers
*/
@javax.annotation.Nullable public Integer getUsedLoadBalancers() {
return usedLoadBalancers;
}

public void setUsedLoadBalancers(@javax.annotation.Nullable Integer usedLoadBalancers) {
this.usedLoadBalancers = usedLoadBalancers;
}

@Override
public boolean equals(Object o) {
if (this == o) {
Expand All @@ -130,12 +179,20 @@ public boolean equals(Object o) {
return Objects.equals(this.maxCredentials, getQuotaResponse.maxCredentials)
&& Objects.equals(this.maxLoadBalancers, getQuotaResponse.maxLoadBalancers)
&& Objects.equals(this.projectId, getQuotaResponse.projectId)
&& Objects.equals(this.region, getQuotaResponse.region);
&& Objects.equals(this.region, getQuotaResponse.region)
&& Objects.equals(this.usedCredentials, getQuotaResponse.usedCredentials)
&& Objects.equals(this.usedLoadBalancers, getQuotaResponse.usedLoadBalancers);
}

@Override
public int hashCode() {
return Objects.hash(maxCredentials, maxLoadBalancers, projectId, region);
return Objects.hash(
maxCredentials,
maxLoadBalancers,
projectId,
region,
usedCredentials,
usedLoadBalancers);
}

@Override
Expand All @@ -146,6 +203,10 @@ public String toString() {
sb.append(" maxLoadBalancers: ").append(toIndentedString(maxLoadBalancers)).append("\n");
sb.append(" projectId: ").append(toIndentedString(projectId)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" usedCredentials: ").append(toIndentedString(usedCredentials)).append("\n");
sb.append(" usedLoadBalancers: ")
.append(toIndentedString(usedLoadBalancers))
.append("\n");
sb.append("}");
return sb.toString();
}
Expand All @@ -168,7 +229,13 @@ private String toIndentedString(Object o) {
// a set of all properties/fields (JSON key names)
openapiFields =
new HashSet<String>(
Arrays.asList("maxCredentials", "maxLoadBalancers", "projectId", "region"));
Arrays.asList(
"maxCredentials",
"maxLoadBalancers",
"projectId",
"region",
"usedCredentials",
"usedLoadBalancers"));

// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet<String>(0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ public LoadBalancerOptions ephemeralAddress(
}

/**
* Get ephemeralAddress
* This option automates the handling of the external IP address for an Application Load
* Balancer. If set to true a new IP address will be automatically created. It will also be
* automatically deleted when the Load Balancer is deleted.
*
* @return ephemeralAddress
*/
Expand Down