code: public ApiResponse<SetAnyLocationsResponse> postAnyLocationsWithHttpInfo(String region, SettingsData data) throws ApiException {
          com.squareup.okhttp.Call call = postAnyLocationsValidateBeforeCall(region, data, null, null);
          Type localVarReturnType = new TypeToken<SetAnyLocationsResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Set region settings.
  Change region settings.
  @param region The name of region (required)
  @param data  (required)
  @return ApiResponse&lt;SetAnyLocationsResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body