code: public SetAnyLocationsResponse postAnyLocations(String region, SettingsData data) throws ApiException {
          ApiResponse<SetAnyLocationsResponse> resp = postAnyLocationsWithHttpInfo(region, data);
          return resp.getData();
      }
docs: Set region settings.
  Change region settings.
  @param region The name of region (required)
  @param data  (required)
  @return SetAnyLocationsResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body