code: public ApiResponse<SendMetadataResponse> sendMetadataWithHttpInfo(File metadataFile, String location) throws ApiException {
          com.squareup.okhttp.Call call = sendMetadataValidateBeforeCall(metadataFile, location, null, null);
          Type localVarReturnType = new TypeToken<SendMetadataResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Upload new metadata.
  Adds or updates the specified metadata.
  @param metadataFile The metadata as xml file. (optional)
  @param location The region where send metadata. (optional)
  @return ApiResponse&lt;SendMetadataResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body