public final class SuggestPagedResponse extends com.azure.core.http.rest.PagedResponseBase<Void,SuggestResult>
Page
. Each page contains additional information returned by the API request. In the Suggest API case the additional
information is: coverage - coverage value.Constructor and Description |
---|
SuggestPagedResponse(com.azure.core.http.rest.Response<List<SuggestResult>> response,
Double coverage)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Double |
getCoverage()
The percentage of the index covered in the suggest request.
|
close, getContinuationToken, getDeserializedHeaders, getElements, getHeaders, getRequest, getStatusCode
public SuggestPagedResponse(com.azure.core.http.rest.Response<List<SuggestResult>> response, Double coverage)
response
- The response containing information such as the request, status code, headers, and values.coverage
- Percent of the index used in the suggest operation.public Double getCoverage()
If minimumCoverage
wasn't supplied in the request this will be null
.
minimumCoverage
was set in the
request, otherwise null
.Copyright © 2021 Microsoft Corporation. All rights reserved.