2323import cloud .stackit .sdk .iaas .v2alpha1api .model .AddVPCRoutingTablePayload ;
2424import cloud .stackit .sdk .iaas .v2alpha1api .model .AddVPCStaticRoutePayload ;
2525import cloud .stackit .sdk .iaas .v2alpha1api .model .CreateNetworkPayload ;
26+ import cloud .stackit .sdk .iaas .v2alpha1api .model .CreateVPCNetworkRangePayload ;
2627import cloud .stackit .sdk .iaas .v2alpha1api .model .CreateVPCPayload ;
2728import cloud .stackit .sdk .iaas .v2alpha1api .model .CreateVPCRegionPayload ;
2829import cloud .stackit .sdk .iaas .v2alpha1api .model .Network ;
2930import cloud .stackit .sdk .iaas .v2alpha1api .model .NetworkListResponse ;
30- import cloud .stackit .sdk .iaas .v2alpha1api .model .NetworkRangeIPv4Request ;
3131import cloud .stackit .sdk .iaas .v2alpha1api .model .PartialUpdateNetworkPayload ;
3232import cloud .stackit .sdk .iaas .v2alpha1api .model .PartialUpdateVPCPayload ;
3333import cloud .stackit .sdk .iaas .v2alpha1api .model .RegionalVPC ;
3838import cloud .stackit .sdk .iaas .v2alpha1api .model .RoutingTableListResponse ;
3939import cloud .stackit .sdk .iaas .v2alpha1api .model .UpdateRouteOfRoutingTablePayload ;
4040import cloud .stackit .sdk .iaas .v2alpha1api .model .UpdateRoutingTableOfAreaPayload ;
41+ import cloud .stackit .sdk .iaas .v2alpha1api .model .UpdateVPCNetworkRangePayload ;
4142import cloud .stackit .sdk .iaas .v2alpha1api .model .UpdateVPCRegionPayload ;
4243import cloud .stackit .sdk .iaas .v2alpha1api .model .UpdateVPCRoutingTablePayload ;
4344import cloud .stackit .sdk .iaas .v2alpha1api .model .UpdateVPCStaticRoutePayload ;
44- import cloud .stackit .sdk .iaas .v2alpha1api .model .V1UpdateVPCNetworkRangeIPv4 ;
4545import cloud .stackit .sdk .iaas .v2alpha1api .model .VPC ;
4646import cloud .stackit .sdk .iaas .v2alpha1api .model .VPCList ;
4747import cloud .stackit .sdk .iaas .v2alpha1api .model .VPCNetworkRange ;
@@ -1610,7 +1610,8 @@ public okhttp3.Call createVPCAsync(
16101610 * @param vpcId The unique identifier (ID) of the target STACKIT VPC in the request path.
16111611 * (required)
16121612 * @param region The STACKIT Region of the resources. (required)
1613- * @param body Request to add an additional network range to a VPC. (required)
1613+ * @param createVPCNetworkRangePayload Request to add an additional network range to a VPC.
1614+ * (required)
16141615 * @param _callback Callback for upload/download progress
16151616 * @return Call to execute
16161617 * @throws ApiException If fail to serialize the request body object
@@ -1632,7 +1633,7 @@ public okhttp3.Call createVPCNetworkRangeCall(
16321633 @ javax .annotation .Nonnull UUID projectId ,
16331634 @ javax .annotation .Nonnull UUID vpcId ,
16341635 @ javax .annotation .Nonnull String region ,
1635- @ javax .annotation .Nonnull NetworkRangeIPv4Request body ,
1636+ @ javax .annotation .Nonnull CreateVPCNetworkRangePayload createVPCNetworkRangePayload ,
16361637 final ApiCallback _callback )
16371638 throws ApiException {
16381639 String basePath = null ;
@@ -1648,7 +1649,7 @@ public okhttp3.Call createVPCNetworkRangeCall(
16481649 basePath = null ;
16491650 }
16501651
1651- Object localVarPostBody = body ;
1652+ Object localVarPostBody = createVPCNetworkRangePayload ;
16521653
16531654 // create path and map variables
16541655 String localVarPath =
@@ -1702,7 +1703,7 @@ private okhttp3.Call createVPCNetworkRangeValidateBeforeCall(
17021703 @ javax .annotation .Nonnull UUID projectId ,
17031704 @ javax .annotation .Nonnull UUID vpcId ,
17041705 @ javax .annotation .Nonnull String region ,
1705- @ javax .annotation .Nonnull NetworkRangeIPv4Request body ,
1706+ @ javax .annotation .Nonnull CreateVPCNetworkRangePayload createVPCNetworkRangePayload ,
17061707 final ApiCallback _callback )
17071708 throws ApiException {
17081709 // verify the required parameter 'projectId' is set
@@ -1723,13 +1724,14 @@ private okhttp3.Call createVPCNetworkRangeValidateBeforeCall(
17231724 "Missing the required parameter 'region' when calling createVPCNetworkRange(Async)" );
17241725 }
17251726
1726- // verify the required parameter 'body ' is set
1727- if (body == null ) {
1727+ // verify the required parameter 'createVPCNetworkRangePayload ' is set
1728+ if (createVPCNetworkRangePayload == null ) {
17281729 throw new ApiException (
1729- "Missing the required parameter 'body ' when calling createVPCNetworkRange(Async)" );
1730+ "Missing the required parameter 'createVPCNetworkRangePayload ' when calling createVPCNetworkRange(Async)" );
17301731 }
17311732
1732- return createVPCNetworkRangeCall (projectId , vpcId , region , body , _callback );
1733+ return createVPCNetworkRangeCall (
1734+ projectId , vpcId , region , createVPCNetworkRangePayload , _callback );
17331735 }
17341736
17351737 /**
@@ -1740,7 +1742,8 @@ private okhttp3.Call createVPCNetworkRangeValidateBeforeCall(
17401742 * @param vpcId The unique identifier (ID) of the target STACKIT VPC in the request path.
17411743 * (required)
17421744 * @param region The STACKIT Region of the resources. (required)
1743- * @param body Request to add an additional network range to a VPC. (required)
1745+ * @param createVPCNetworkRangePayload Request to add an additional network range to a VPC.
1746+ * (required)
17441747 * @return VPCNetworkRange
17451748 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
17461749 * response body
@@ -1762,10 +1765,11 @@ public VPCNetworkRange createVPCNetworkRange(
17621765 @ javax .annotation .Nonnull UUID projectId ,
17631766 @ javax .annotation .Nonnull UUID vpcId ,
17641767 @ javax .annotation .Nonnull String region ,
1765- @ javax .annotation .Nonnull NetworkRangeIPv4Request body )
1768+ @ javax .annotation .Nonnull CreateVPCNetworkRangePayload createVPCNetworkRangePayload )
17661769 throws ApiException {
17671770 ApiResponse <VPCNetworkRange > localVarResp =
1768- createVPCNetworkRangeWithHttpInfo (projectId , vpcId , region , body );
1771+ createVPCNetworkRangeWithHttpInfo (
1772+ projectId , vpcId , region , createVPCNetworkRangePayload );
17691773 return localVarResp .getData ();
17701774 }
17711775
@@ -1777,7 +1781,8 @@ public VPCNetworkRange createVPCNetworkRange(
17771781 * @param vpcId The unique identifier (ID) of the target STACKIT VPC in the request path.
17781782 * (required)
17791783 * @param region The STACKIT Region of the resources. (required)
1780- * @param body Request to add an additional network range to a VPC. (required)
1784+ * @param createVPCNetworkRangePayload Request to add an additional network range to a VPC.
1785+ * (required)
17811786 * @return ApiResponse<VPCNetworkRange>
17821787 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
17831788 * response body
@@ -1799,10 +1804,11 @@ public ApiResponse<VPCNetworkRange> createVPCNetworkRangeWithHttpInfo(
17991804 @ javax .annotation .Nonnull UUID projectId ,
18001805 @ javax .annotation .Nonnull UUID vpcId ,
18011806 @ javax .annotation .Nonnull String region ,
1802- @ javax .annotation .Nonnull NetworkRangeIPv4Request body )
1807+ @ javax .annotation .Nonnull CreateVPCNetworkRangePayload createVPCNetworkRangePayload )
18031808 throws ApiException {
18041809 okhttp3 .Call localVarCall =
1805- createVPCNetworkRangeValidateBeforeCall (projectId , vpcId , region , body , null );
1810+ createVPCNetworkRangeValidateBeforeCall (
1811+ projectId , vpcId , region , createVPCNetworkRangePayload , null );
18061812 Type localVarReturnType = new TypeToken <VPCNetworkRange >() {}.getType ();
18071813 return localVarApiClient .execute (localVarCall , localVarReturnType );
18081814 }
@@ -1815,7 +1821,8 @@ public ApiResponse<VPCNetworkRange> createVPCNetworkRangeWithHttpInfo(
18151821 * @param vpcId The unique identifier (ID) of the target STACKIT VPC in the request path.
18161822 * (required)
18171823 * @param region The STACKIT Region of the resources. (required)
1818- * @param body Request to add an additional network range to a VPC. (required)
1824+ * @param createVPCNetworkRangePayload Request to add an additional network range to a VPC.
1825+ * (required)
18191826 * @param _callback The callback to be executed when the API call finishes
18201827 * @return The request call
18211828 * @throws ApiException If fail to process the API call, e.g. serializing the request body
@@ -1838,12 +1845,13 @@ public okhttp3.Call createVPCNetworkRangeAsync(
18381845 @ javax .annotation .Nonnull UUID projectId ,
18391846 @ javax .annotation .Nonnull UUID vpcId ,
18401847 @ javax .annotation .Nonnull String region ,
1841- @ javax .annotation .Nonnull NetworkRangeIPv4Request body ,
1848+ @ javax .annotation .Nonnull CreateVPCNetworkRangePayload createVPCNetworkRangePayload ,
18421849 final ApiCallback <VPCNetworkRange > _callback )
18431850 throws ApiException {
18441851
18451852 okhttp3 .Call localVarCall =
1846- createVPCNetworkRangeValidateBeforeCall (projectId , vpcId , region , body , _callback );
1853+ createVPCNetworkRangeValidateBeforeCall (
1854+ projectId , vpcId , region , createVPCNetworkRangePayload , _callback );
18471855 Type localVarReturnType = new TypeToken <VPCNetworkRange >() {}.getType ();
18481856 localVarApiClient .executeAsync (localVarCall , localVarReturnType , _callback );
18491857 return localVarCall ;
@@ -9047,7 +9055,7 @@ public okhttp3.Call updateRoutingTableOfAreaAsync(
90479055 * (required)
90489056 * @param region The STACKIT Region of the resources. (required)
90499057 * @param networkRangeId The identifier (ID) of a STACKIT Network Range. (required)
9050- * @param body Request an update of a network range. (required)
9058+ * @param updateVPCNetworkRangePayload Request an update of a network range. (required)
90519059 * @param _callback Callback for upload/download progress
90529060 * @return Call to execute
90539061 * @throws ApiException If fail to serialize the request body object
@@ -9070,7 +9078,7 @@ public okhttp3.Call updateVPCNetworkRangeCall(
90709078 @ javax .annotation .Nonnull UUID vpcId ,
90719079 @ javax .annotation .Nonnull String region ,
90729080 @ javax .annotation .Nonnull UUID networkRangeId ,
9073- @ javax .annotation .Nonnull V1UpdateVPCNetworkRangeIPv4 body ,
9081+ @ javax .annotation .Nonnull UpdateVPCNetworkRangePayload updateVPCNetworkRangePayload ,
90749082 final ApiCallback _callback )
90759083 throws ApiException {
90769084 String basePath = null ;
@@ -9086,7 +9094,7 @@ public okhttp3.Call updateVPCNetworkRangeCall(
90869094 basePath = null ;
90879095 }
90889096
9089- Object localVarPostBody = body ;
9097+ Object localVarPostBody = updateVPCNetworkRangePayload ;
90909098
90919099 // create path and map variables
90929100 String localVarPath =
@@ -9144,7 +9152,7 @@ private okhttp3.Call updateVPCNetworkRangeValidateBeforeCall(
91449152 @ javax .annotation .Nonnull UUID vpcId ,
91459153 @ javax .annotation .Nonnull String region ,
91469154 @ javax .annotation .Nonnull UUID networkRangeId ,
9147- @ javax .annotation .Nonnull V1UpdateVPCNetworkRangeIPv4 body ,
9155+ @ javax .annotation .Nonnull UpdateVPCNetworkRangePayload updateVPCNetworkRangePayload ,
91489156 final ApiCallback _callback )
91499157 throws ApiException {
91509158 // verify the required parameter 'projectId' is set
@@ -9171,13 +9179,14 @@ private okhttp3.Call updateVPCNetworkRangeValidateBeforeCall(
91719179 "Missing the required parameter 'networkRangeId' when calling updateVPCNetworkRange(Async)" );
91729180 }
91739181
9174- // verify the required parameter 'body ' is set
9175- if (body == null ) {
9182+ // verify the required parameter 'updateVPCNetworkRangePayload ' is set
9183+ if (updateVPCNetworkRangePayload == null ) {
91769184 throw new ApiException (
9177- "Missing the required parameter 'body ' when calling updateVPCNetworkRange(Async)" );
9185+ "Missing the required parameter 'updateVPCNetworkRangePayload ' when calling updateVPCNetworkRange(Async)" );
91789186 }
91799187
9180- return updateVPCNetworkRangeCall (projectId , vpcId , region , networkRangeId , body , _callback );
9188+ return updateVPCNetworkRangeCall (
9189+ projectId , vpcId , region , networkRangeId , updateVPCNetworkRangePayload , _callback );
91819190 }
91829191
91839192 /**
@@ -9188,7 +9197,7 @@ private okhttp3.Call updateVPCNetworkRangeValidateBeforeCall(
91889197 * (required)
91899198 * @param region The STACKIT Region of the resources. (required)
91909199 * @param networkRangeId The identifier (ID) of a STACKIT Network Range. (required)
9191- * @param body Request an update of a network range. (required)
9200+ * @param updateVPCNetworkRangePayload Request an update of a network range. (required)
91929201 * @return VPCNetworkRange
91939202 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
91949203 * response body
@@ -9211,10 +9220,11 @@ public VPCNetworkRange updateVPCNetworkRange(
92119220 @ javax .annotation .Nonnull UUID vpcId ,
92129221 @ javax .annotation .Nonnull String region ,
92139222 @ javax .annotation .Nonnull UUID networkRangeId ,
9214- @ javax .annotation .Nonnull V1UpdateVPCNetworkRangeIPv4 body )
9223+ @ javax .annotation .Nonnull UpdateVPCNetworkRangePayload updateVPCNetworkRangePayload )
92159224 throws ApiException {
92169225 ApiResponse <VPCNetworkRange > localVarResp =
9217- updateVPCNetworkRangeWithHttpInfo (projectId , vpcId , region , networkRangeId , body );
9226+ updateVPCNetworkRangeWithHttpInfo (
9227+ projectId , vpcId , region , networkRangeId , updateVPCNetworkRangePayload );
92189228 return localVarResp .getData ();
92199229 }
92209230
@@ -9226,7 +9236,7 @@ public VPCNetworkRange updateVPCNetworkRange(
92269236 * (required)
92279237 * @param region The STACKIT Region of the resources. (required)
92289238 * @param networkRangeId The identifier (ID) of a STACKIT Network Range. (required)
9229- * @param body Request an update of a network range. (required)
9239+ * @param updateVPCNetworkRangePayload Request an update of a network range. (required)
92309240 * @return ApiResponse<VPCNetworkRange>
92319241 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
92329242 * response body
@@ -9249,11 +9259,16 @@ public ApiResponse<VPCNetworkRange> updateVPCNetworkRangeWithHttpInfo(
92499259 @ javax .annotation .Nonnull UUID vpcId ,
92509260 @ javax .annotation .Nonnull String region ,
92519261 @ javax .annotation .Nonnull UUID networkRangeId ,
9252- @ javax .annotation .Nonnull V1UpdateVPCNetworkRangeIPv4 body )
9262+ @ javax .annotation .Nonnull UpdateVPCNetworkRangePayload updateVPCNetworkRangePayload )
92539263 throws ApiException {
92549264 okhttp3 .Call localVarCall =
92559265 updateVPCNetworkRangeValidateBeforeCall (
9256- projectId , vpcId , region , networkRangeId , body , null );
9266+ projectId ,
9267+ vpcId ,
9268+ region ,
9269+ networkRangeId ,
9270+ updateVPCNetworkRangePayload ,
9271+ null );
92579272 Type localVarReturnType = new TypeToken <VPCNetworkRange >() {}.getType ();
92589273 return localVarApiClient .execute (localVarCall , localVarReturnType );
92599274 }
@@ -9267,7 +9282,7 @@ public ApiResponse<VPCNetworkRange> updateVPCNetworkRangeWithHttpInfo(
92679282 * (required)
92689283 * @param region The STACKIT Region of the resources. (required)
92699284 * @param networkRangeId The identifier (ID) of a STACKIT Network Range. (required)
9270- * @param body Request an update of a network range. (required)
9285+ * @param updateVPCNetworkRangePayload Request an update of a network range. (required)
92719286 * @param _callback The callback to be executed when the API call finishes
92729287 * @return The request call
92739288 * @throws ApiException If fail to process the API call, e.g. serializing the request body
@@ -9291,13 +9306,18 @@ public okhttp3.Call updateVPCNetworkRangeAsync(
92919306 @ javax .annotation .Nonnull UUID vpcId ,
92929307 @ javax .annotation .Nonnull String region ,
92939308 @ javax .annotation .Nonnull UUID networkRangeId ,
9294- @ javax .annotation .Nonnull V1UpdateVPCNetworkRangeIPv4 body ,
9309+ @ javax .annotation .Nonnull UpdateVPCNetworkRangePayload updateVPCNetworkRangePayload ,
92959310 final ApiCallback <VPCNetworkRange > _callback )
92969311 throws ApiException {
92979312
92989313 okhttp3 .Call localVarCall =
92999314 updateVPCNetworkRangeValidateBeforeCall (
9300- projectId , vpcId , region , networkRangeId , body , _callback );
9315+ projectId ,
9316+ vpcId ,
9317+ region ,
9318+ networkRangeId ,
9319+ updateVPCNetworkRangePayload ,
9320+ _callback );
93019321 Type localVarReturnType = new TypeToken <VPCNetworkRange >() {}.getType ();
93029322 localVarApiClient .executeAsync (localVarCall , localVarReturnType , _callback );
93039323 return localVarCall ;
0 commit comments