From 4872ea426bd5fd4e0a7d2a07a7a4d2d7ac152acb Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Tue, 20 Jan 2026 08:32:40 +0000 Subject: [PATCH] Generate alb --- .../sdk/alb/model/GetQuotaResponse.java | 73 ++++++++++++++++++- .../sdk/alb/model/LoadBalancerOptions.java | 4 +- 2 files changed, 73 insertions(+), 4 deletions(-) diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java index 4045a45..f1344ce 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java @@ -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) { @@ -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) { @@ -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 @@ -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(); } @@ -168,7 +229,13 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet( - 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(0); diff --git a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java index 1e7096d..a1cb86e 100644 --- a/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java +++ b/services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java @@ -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 */