T
- The type of items contained in the TextAnalyticsPagedResponse
public final class TextAnalyticsPagedResponse<T> extends PagedResponseBase<Void,T>
PagedResponse
along with the model version that trained in service and the
batch statistics of response
.PagedResponseBase
Constructor and Description |
---|
TextAnalyticsPagedResponse(HttpRequest request,
int statusCode,
HttpHeaders headers,
List<T> items,
String continuationToken,
String modelVersion,
TextDocumentBatchStatistics statistics)
Create a new instance of the
TextAnalyticsPagedResponse . |
Modifier and Type | Method and Description |
---|---|
String |
getModelVersion()
Get the model version trained in service for the request.
|
TextDocumentBatchStatistics |
getStatistics()
Get the batch statistics of response.
|
close, getContinuationToken, getDeserializedHeaders, getElements, getHeaders, getRequest, getStatusCode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValue
public TextAnalyticsPagedResponse(HttpRequest request, int statusCode, HttpHeaders headers, List<T> items, String continuationToken, String modelVersion, TextDocumentBatchStatistics statistics)
TextAnalyticsPagedResponse
.request
- The HttpRequest that was sent to the service whose response resulted in this response.statusCode
- The status code from the response.headers
- The headers from the response.items
- The items returned from the service within the response.continuationToken
- The continuation token returned from the service, to enable future requests to pick up
from the same place in the paged iteration.modelVersion
- The model version trained in service for the request.statistics
- The batch statistics of response.public String getModelVersion()
public TextDocumentBatchStatistics getStatistics()
Copyright © 2020 Microsoft Corporation. All rights reserved.