Skip to content

Commit 68ca553

Browse files
Generate alb
1 parent 4d7bd44 commit 68ca553

File tree

2 files changed

+73
-4
lines changed

2 files changed

+73
-4
lines changed

services/alb/src/main/java/cloud/stackit/sdk/alb/model/GetQuotaResponse.java

Lines changed: 70 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ public class GetQuotaResponse {
5555
@SerializedName(SERIALIZED_NAME_REGION)
5656
@javax.annotation.Nullable private String region;
5757

58+
public static final String SERIALIZED_NAME_USED_CREDENTIALS = "usedCredentials";
59+
60+
@SerializedName(SERIALIZED_NAME_USED_CREDENTIALS)
61+
@javax.annotation.Nullable private Integer usedCredentials;
62+
63+
public static final String SERIALIZED_NAME_USED_LOAD_BALANCERS = "usedLoadBalancers";
64+
65+
@SerializedName(SERIALIZED_NAME_USED_LOAD_BALANCERS)
66+
@javax.annotation.Nullable private Integer usedLoadBalancers;
67+
5868
public GetQuotaResponse() {}
5969

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

131+
public GetQuotaResponse usedCredentials(@javax.annotation.Nullable Integer usedCredentials) {
132+
this.usedCredentials = usedCredentials;
133+
return this;
134+
}
135+
136+
/**
137+
* The number of observability credentials that are currently existing in this project. minimum:
138+
* -1 maximum: 1000000
139+
*
140+
* @return usedCredentials
141+
*/
142+
@javax.annotation.Nullable public Integer getUsedCredentials() {
143+
return usedCredentials;
144+
}
145+
146+
public void setUsedCredentials(@javax.annotation.Nullable Integer usedCredentials) {
147+
this.usedCredentials = usedCredentials;
148+
}
149+
150+
public GetQuotaResponse usedLoadBalancers(
151+
@javax.annotation.Nullable Integer usedLoadBalancers) {
152+
this.usedLoadBalancers = usedLoadBalancers;
153+
return this;
154+
}
155+
156+
/**
157+
* The number of load balancing servers that are currently existing in this project. minimum: -1
158+
* maximum: 1000000
159+
*
160+
* @return usedLoadBalancers
161+
*/
162+
@javax.annotation.Nullable public Integer getUsedLoadBalancers() {
163+
return usedLoadBalancers;
164+
}
165+
166+
public void setUsedLoadBalancers(@javax.annotation.Nullable Integer usedLoadBalancers) {
167+
this.usedLoadBalancers = usedLoadBalancers;
168+
}
169+
121170
@Override
122171
public boolean equals(Object o) {
123172
if (this == o) {
@@ -130,12 +179,20 @@ public boolean equals(Object o) {
130179
return Objects.equals(this.maxCredentials, getQuotaResponse.maxCredentials)
131180
&& Objects.equals(this.maxLoadBalancers, getQuotaResponse.maxLoadBalancers)
132181
&& Objects.equals(this.projectId, getQuotaResponse.projectId)
133-
&& Objects.equals(this.region, getQuotaResponse.region);
182+
&& Objects.equals(this.region, getQuotaResponse.region)
183+
&& Objects.equals(this.usedCredentials, getQuotaResponse.usedCredentials)
184+
&& Objects.equals(this.usedLoadBalancers, getQuotaResponse.usedLoadBalancers);
134185
}
135186

136187
@Override
137188
public int hashCode() {
138-
return Objects.hash(maxCredentials, maxLoadBalancers, projectId, region);
189+
return Objects.hash(
190+
maxCredentials,
191+
maxLoadBalancers,
192+
projectId,
193+
region,
194+
usedCredentials,
195+
usedLoadBalancers);
139196
}
140197

141198
@Override
@@ -146,6 +203,10 @@ public String toString() {
146203
sb.append(" maxLoadBalancers: ").append(toIndentedString(maxLoadBalancers)).append("\n");
147204
sb.append(" projectId: ").append(toIndentedString(projectId)).append("\n");
148205
sb.append(" region: ").append(toIndentedString(region)).append("\n");
206+
sb.append(" usedCredentials: ").append(toIndentedString(usedCredentials)).append("\n");
207+
sb.append(" usedLoadBalancers: ")
208+
.append(toIndentedString(usedLoadBalancers))
209+
.append("\n");
149210
sb.append("}");
150211
return sb.toString();
151212
}
@@ -168,7 +229,13 @@ private String toIndentedString(Object o) {
168229
// a set of all properties/fields (JSON key names)
169230
openapiFields =
170231
new HashSet<String>(
171-
Arrays.asList("maxCredentials", "maxLoadBalancers", "projectId", "region"));
232+
Arrays.asList(
233+
"maxCredentials",
234+
"maxLoadBalancers",
235+
"projectId",
236+
"region",
237+
"usedCredentials",
238+
"usedLoadBalancers"));
172239

173240
// a set of required properties/fields (JSON key names)
174241
openapiRequiredFields = new HashSet<String>(0);

services/alb/src/main/java/cloud/stackit/sdk/alb/model/LoadBalancerOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ public LoadBalancerOptions ephemeralAddress(
8585
}
8686

8787
/**
88-
* Get ephemeralAddress
88+
* This option automates the handling of the external IP address for an Application Load
89+
* Balancer. If set to true a new IP address will be automatically created. It will also be
90+
* automatically deleted when the Load Balancer is deleted.
8991
*
9092
* @return ephemeralAddress
9193
*/

0 commit comments

Comments
 (0)