|
3 | 3 |
|
4 | 4 | package com.azure.ai.formrecognizer.documentanalysis;
|
5 | 5 |
|
6 |
| -import com.azure.ai.formrecognizer.documentanalysis.administration.models.DocumentOperationStatus; |
| 6 | +import com.azure.ai.formrecognizer.documentanalysis.administration.models.OperationStatus; |
7 | 7 | import com.azure.ai.formrecognizer.documentanalysis.implementation.FormRecognizerClientImpl;
|
8 | 8 | import com.azure.ai.formrecognizer.documentanalysis.implementation.models.AnalyzeDocumentRequest;
|
9 | 9 | import com.azure.ai.formrecognizer.documentanalysis.implementation.models.AnalyzeResultOperation;
|
@@ -106,7 +106,7 @@ public final class DocumentAnalysisAsyncClient {
|
106 | 106 | * @return A {@link PollerFlux} that polls the progress of the analyze document operation until it has completed, has failed,
|
107 | 107 | * or has been cancelled. The completed operation returns an {@link AnalyzeResult}.
|
108 | 108 | * @throws HttpResponseException If analyze operation fails and the {@link AnalyzeResultOperation} returns
|
109 |
| - * with an {@link DocumentOperationStatus#FAILED}.. |
| 109 | + * with an {@link OperationStatus#FAILED}.. |
110 | 110 | * @throws IllegalArgumentException If {@code documentUrl} or {@code modelId} is null.
|
111 | 111 | */
|
112 | 112 | @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
|
@@ -157,7 +157,7 @@ public final class DocumentAnalysisAsyncClient {
|
157 | 157 | * @return A {@link PollerFlux} that polls progress of the analyze document operation until it has completed,
|
158 | 158 | * has failed, or has been cancelled. The completed operation returns an {@link AnalyzeResult}.
|
159 | 159 | * @throws HttpResponseException If analyze operation fails and the {@link AnalyzeResultOperation} returns
|
160 |
| - * with an {@link DocumentOperationStatus#FAILED}. |
| 160 | + * with an {@link OperationStatus#FAILED}. |
161 | 161 | * @throws IllegalArgumentException If {@code documentUrl} or {@code modelId} is null.
|
162 | 162 | */
|
163 | 163 | @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
|
@@ -257,7 +257,7 @@ public final class DocumentAnalysisAsyncClient {
|
257 | 257 | * @return A {@link PollerFlux} that polls the progress of the analyze document operation until it has completed,
|
258 | 258 | * has failed, or has been cancelled. The completed operation returns an {@link AnalyzeResult}.
|
259 | 259 | * @throws HttpResponseException If analyze operation fails and the {@link AnalyzeResultOperation} returns
|
260 |
| - * with an {@link DocumentOperationStatus#FAILED}. |
| 260 | + * with an {@link OperationStatus#FAILED}. |
261 | 261 | * @throws IllegalArgumentException If {@code document} or {@code modelId} is null.
|
262 | 262 | */
|
263 | 263 | @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
|
@@ -314,7 +314,7 @@ public final class DocumentAnalysisAsyncClient {
|
314 | 314 | * @return A {@link PollerFlux} that polls the progress of the analyze document operation until it has completed,
|
315 | 315 | * has failed, or has been cancelled. The completed operation returns an {@link AnalyzeResult}.
|
316 | 316 | * @throws HttpResponseException If analyze operation fails and the {@link AnalyzeResultOperation} returns
|
317 |
| - * with an {@link DocumentOperationStatus#FAILED}. |
| 317 | + * with an {@link OperationStatus#FAILED}. |
318 | 318 | * @throws IllegalArgumentException If {@code document} or {@code modelId} is null.
|
319 | 319 | */
|
320 | 320 | @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
|
|
0 commit comments