code: public GetSPMetadataResponse getSPMetadata(String location, Boolean download, Boolean noSpinner) throws ApiException {
          ApiResponse<GetSPMetadataResponse> resp = getSPMetadataWithHttpInfo(location, download, noSpinner);
          return resp.getData();
      }
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 GetSPMetadataResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body