4949import com .volcengine .escloud .model .ModifyChargeCodeResponse ;
5050import com .volcengine .escloud .model .ModifyDeletionProtectionRequest ;
5151import com .volcengine .escloud .model .ModifyDeletionProtectionResponse ;
52- import com .volcengine .escloud .model .ModifyIpWhitelistRequest ;
53- import com .volcengine .escloud .model .ModifyIpWhitelistResponse ;
52+ import com .volcengine .escloud .model .ModifyIpAllowListRequest ;
53+ import com .volcengine .escloud .model .ModifyIpAllowListResponse ;
5454import com .volcengine .escloud .model .ModifyMaintenanceSettingRequest ;
5555import com .volcengine .escloud .model .ModifyMaintenanceSettingResponse ;
5656import com .volcengine .escloud .model .ModifyNodeSpecInOneStepRequest ;
@@ -1460,18 +1460,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
14601460 return call ;
14611461 }
14621462 /**
1463- * Build call for modifyIpWhitelist
1463+ * Build call for modifyIpAllowList
14641464 * @param body (required)
14651465 * @param progressListener Progress listener
14661466 * @param progressRequestListener Progress request listener
14671467 * @return Call to execute
14681468 * @throws ApiException If fail to serialize the request body object
14691469 */
1470- public com .squareup .okhttp .Call modifyIpWhitelistCall ( ModifyIpWhitelistRequest body , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
1470+ public com .squareup .okhttp .Call modifyIpAllowListCall ( ModifyIpAllowListRequest body , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
14711471 Object localVarPostBody = body ;
14721472
14731473 // create path and map variables
1474- String localVarPath = "/ModifyIpWhitelist /2023-01-01/escloud/post/application_json/" ;
1474+ String localVarPath = "/ModifyIpAllowList /2023-01-01/escloud/post/application_json/" ;
14751475
14761476 List <Pair > localVarQueryParams = new ArrayList <Pair >();
14771477 List <Pair > localVarCollectionQueryParams = new ArrayList <Pair >();
@@ -1509,13 +1509,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
15091509 }
15101510
15111511 @ SuppressWarnings ("rawtypes" )
1512- private com .squareup .okhttp .Call modifyIpWhitelistValidateBeforeCall ( ModifyIpWhitelistRequest body , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
1512+ private com .squareup .okhttp .Call modifyIpAllowListValidateBeforeCall ( ModifyIpAllowListRequest body , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
15131513 // verify the required parameter 'body' is set
15141514 if (body == null ) {
1515- throw new ApiException ("Missing the required parameter 'body' when calling modifyIpWhitelist (Async)" );
1515+ throw new ApiException ("Missing the required parameter 'body' when calling modifyIpAllowList (Async)" );
15161516 }
15171517
1518- com .squareup .okhttp .Call call = modifyIpWhitelistCall (body , progressListener , progressRequestListener );
1518+ com .squareup .okhttp .Call call = modifyIpAllowListCall (body , progressListener , progressRequestListener );
15191519 return call ;
15201520
15211521
@@ -1528,24 +1528,24 @@ private com.squareup.okhttp.Call modifyIpWhitelistValidateBeforeCall(ModifyIpWhi
15281528 *
15291529 *
15301530 * @param body (required)
1531- * @return ModifyIpWhitelistResponse
1531+ * @return ModifyIpAllowListResponse
15321532 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
15331533 */
1534- public ModifyIpWhitelistResponse modifyIpWhitelist ( ModifyIpWhitelistRequest body ) throws ApiException {
1535- ApiResponse <ModifyIpWhitelistResponse > resp = modifyIpWhitelistWithHttpInfo (body );
1534+ public ModifyIpAllowListResponse modifyIpAllowList ( ModifyIpAllowListRequest body ) throws ApiException {
1535+ ApiResponse <ModifyIpAllowListResponse > resp = modifyIpAllowListWithHttpInfo (body );
15361536 return resp .getData ();
15371537 }
15381538
15391539 /**
15401540 *
15411541 *
15421542 * @param body (required)
1543- * @return ApiResponse<ModifyIpWhitelistResponse >
1543+ * @return ApiResponse<ModifyIpAllowListResponse >
15441544 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
15451545 */
1546- public ApiResponse <ModifyIpWhitelistResponse > modifyIpWhitelistWithHttpInfo ( @ NotNull ModifyIpWhitelistRequest body ) throws ApiException {
1547- com .squareup .okhttp .Call call = modifyIpWhitelistValidateBeforeCall (body , null , null );
1548- Type localVarReturnType = new TypeToken <ModifyIpWhitelistResponse >(){}.getType ();
1546+ public ApiResponse <ModifyIpAllowListResponse > modifyIpAllowListWithHttpInfo ( @ NotNull ModifyIpAllowListRequest body ) throws ApiException {
1547+ com .squareup .okhttp .Call call = modifyIpAllowListValidateBeforeCall (body , null , null );
1548+ Type localVarReturnType = new TypeToken <ModifyIpAllowListResponse >(){}.getType ();
15491549 return apiClient .execute (call , localVarReturnType );
15501550 }
15511551
@@ -1557,7 +1557,7 @@ public ApiResponse<ModifyIpWhitelistResponse> modifyIpWhitelistWithHttpInfo( @No
15571557 * @return The request call
15581558 * @throws ApiException If fail to process the API call, e.g. serializing the request body object
15591559 */
1560- public com .squareup .okhttp .Call modifyIpWhitelistAsync ( ModifyIpWhitelistRequest body , final ApiCallback <ModifyIpWhitelistResponse > callback ) throws ApiException {
1560+ public com .squareup .okhttp .Call modifyIpAllowListAsync ( ModifyIpAllowListRequest body , final ApiCallback <ModifyIpAllowListResponse > callback ) throws ApiException {
15611561
15621562 ProgressResponseBody .ProgressListener progressListener = null ;
15631563 ProgressRequestBody .ProgressRequestListener progressRequestListener = null ;
@@ -1578,8 +1578,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
15781578 };
15791579 }
15801580
1581- com .squareup .okhttp .Call call = modifyIpWhitelistValidateBeforeCall (body , progressListener , progressRequestListener );
1582- Type localVarReturnType = new TypeToken <ModifyIpWhitelistResponse >(){}.getType ();
1581+ com .squareup .okhttp .Call call = modifyIpAllowListValidateBeforeCall (body , progressListener , progressRequestListener );
1582+ Type localVarReturnType = new TypeToken <ModifyIpAllowListResponse >(){}.getType ();
15831583 apiClient .executeAsync (call , localVarReturnType , callback );
15841584 return call ;
15851585 }
0 commit comments