code: public ApiResponse<GetSPMetadataResponse> getSPMetadataWithHttpInfo(String location, Boolean download, Boolean noSpinner) throws ApiException {
          com.squareup.okhttp.Call call = getSPMetadataValidateBeforeCall(location, download, noSpinner, null, null);
          Type localVarReturnType = new TypeToken<GetSPMetadataResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get Metadata
  Returns exist Metadata xml file.
  @param location Define SAML location. (required)
  @param download Define if need download file. (required)
  @param noSpinner Define if need page reload (optional)
  @return ApiResponse&lt;GetSPMetadataResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body