Skip to content

Commit 05f7abc

Browse files
Generator: Update SDK /services/loadbalancer (#482)
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@digits.schwarz>
1 parent 102b9f5 commit 05f7abc

File tree

7 files changed

+21
-14
lines changed

7 files changed

+21
-14
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
- **Feature:** Add fields `usedCredentials` and `usedLoadbalancers` to `GetQuotaResponse`
1212
- **Improvement:** Support additional properties in models
1313
- `loadbalancer`:
14+
- [v0.4.0](services/loadbalancer/CHANGELOG.md#v040)
15+
- Deprecation of methods `serverNameIndicators`, `setServerNameIndicators` and `getServerNameIndicators` in `Listener` model class
1416
- [v0.3.0](services/loadbalancer/CHANGELOG.md#v030)
1517
- **Feature:** Add new fields `AltPort` and `HttpHealthCheck` to `ActiveHealthCheck`
1618
- [v0.2.1](services/loadbalancer/CHANGELOG.md#v021)

services/loadbalancer/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.4.0
2+
- Deprecation of methods `serverNameIndicators`, `setServerNameIndicators` and `getServerNameIndicators` in `Listener` model class
3+
14
## v0.3.0
25
- **Feature:** Add new fields `AltPort` and `HttpHealthCheck` to `ActiveHealthCheck`
36

services/loadbalancer/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.0
1+
0.4.0

services/loadbalancer/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10774896634990c655a523f5f0fabd6e2be9e216
1+
95de5cba3201a683657cb472d5fa30aa768f19cc

services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/api/DefaultApi.java

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,9 +1592,8 @@ private okhttp3.Call getQuotaValidateBeforeCall(
15921592
}
15931593

15941594
/**
1595-
* Get the quota of Load Balancers in a project. Retrieves the configured Load Balancer quota
1596-
* for the project. Limit can be changed via service request. There can be 3 times as many
1597-
* observability credentials as Load Balancers.
1595+
* Get the quota of Network Load Balancers in a project. Retrieves the configured Network Load
1596+
* Balancer quota for the project. Limit can be changed via service request.
15981597
*
15991598
* @param projectId (required)
16001599
* @param region (required)
@@ -1621,9 +1620,8 @@ public GetQuotaResponse getQuota(
16211620
}
16221621

16231622
/**
1624-
* Get the quota of Load Balancers in a project. Retrieves the configured Load Balancer quota
1625-
* for the project. Limit can be changed via service request. There can be 3 times as many
1626-
* observability credentials as Load Balancers.
1623+
* Get the quota of Network Load Balancers in a project. Retrieves the configured Network Load
1624+
* Balancer quota for the project. Limit can be changed via service request.
16271625
*
16281626
* @param projectId (required)
16291627
* @param region (required)
@@ -1651,9 +1649,9 @@ public ApiResponse<GetQuotaResponse> getQuotaWithHttpInfo(
16511649
}
16521650

16531651
/**
1654-
* Get the quota of Load Balancers in a project. (asynchronously) Retrieves the configured Load
1655-
* Balancer quota for the project. Limit can be changed via service request. There can be 3
1656-
* times as many observability credentials as Load Balancers.
1652+
* Get the quota of Network Load Balancers in a project. (asynchronously) Retrieves the
1653+
* configured Network Load Balancer quota for the project. Limit can be changed via service
1654+
* request.
16571655
*
16581656
* @param projectId (required)
16591657
* @param region (required)

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public GetQuotaResponse maxCredentials(@javax.annotation.Nullable Integer maxCre
8181

8282
/**
8383
* The maximum number of observability credentials that can be stored in this project. minimum:
84-
* -1 maximum: 999
84+
* -1 maximum: 1000000
8585
*
8686
* @return maxCredentials
8787
*/
@@ -99,8 +99,7 @@ public GetQuotaResponse maxLoadBalancers(@javax.annotation.Nullable Integer maxL
9999
}
100100

101101
/**
102-
* The maximum number of load balancing servers in this project. Unlimited if set to -1.
103-
* minimum: -1 maximum: 1000000
102+
* The maximum number of load balancing servers in this project. minimum: -1 maximum: 1000000
104103
*
105104
* @return maxLoadBalancers
106105
*/

services/loadbalancer/src/main/java/cloud/stackit/sdk/loadbalancer/model/Listener.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
122122

123123
public static final String SERIALIZED_NAME_SERVER_NAME_INDICATORS = "serverNameIndicators";
124124

125+
@Deprecated
125126
@SerializedName(SERIALIZED_NAME_SERVER_NAME_INDICATORS)
126127
@javax.annotation.Nullable private List<ServerNameIndicator> serverNameIndicators = new ArrayList<>();
127128

@@ -212,6 +213,7 @@ public void setProtocol(@javax.annotation.Nullable ProtocolEnum protocol) {
212213
this.protocol = protocol;
213214
}
214215

216+
@Deprecated
215217
public Listener serverNameIndicators(
216218
@javax.annotation.Nullable List<ServerNameIndicator> serverNameIndicators) {
217219
this.serverNameIndicators = serverNameIndicators;
@@ -231,11 +233,14 @@ public Listener addServerNameIndicatorsItem(ServerNameIndicator serverNameIndica
231233
* listener.
232234
*
233235
* @return serverNameIndicators
236+
* @deprecated
234237
*/
238+
@Deprecated
235239
@javax.annotation.Nullable public List<ServerNameIndicator> getServerNameIndicators() {
236240
return serverNameIndicators;
237241
}
238242

243+
@Deprecated
239244
public void setServerNameIndicators(
240245
@javax.annotation.Nullable List<ServerNameIndicator> serverNameIndicators) {
241246
this.serverNameIndicators = serverNameIndicators;

0 commit comments

Comments
 (0)