code: public SendMetadataResponse sendMetadata(File metadataFile, String location) throws ApiException {
          ApiResponse<SendMetadataResponse> resp = sendMetadataWithHttpInfo(metadataFile, location);
          return resp.getData();
      }
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 SendMetadataResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body