| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | | using Azure.AI.FormRecognizer; |
| | 10 | |
|
| | 11 | | namespace Azure.AI.FormRecognizer.Models |
| | 12 | | { |
| | 13 | | /// <summary> Status and result of the queued analyze operation. </summary> |
| | 14 | | internal partial class AnalyzeOperationResult |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of AnalyzeOperationResult. </summary> |
| | 17 | | /// <param name="status"> Operation status. </param> |
| | 18 | | /// <param name="createdDateTime"> Date and time (UTC) when the analyze operation was submitted. </param> |
| | 19 | | /// <param name="lastUpdatedDateTime"> Date and time (UTC) when the status was last updated. </param> |
| 0 | 20 | | internal AnalyzeOperationResult(OperationStatus status, DateTimeOffset createdDateTime, DateTimeOffset lastUpdat |
| | 21 | | { |
| 0 | 22 | | Status = status; |
| 0 | 23 | | CreatedDateTime = createdDateTime; |
| 0 | 24 | | LastUpdatedDateTime = lastUpdatedDateTime; |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> Initializes a new instance of AnalyzeOperationResult. </summary> |
| | 28 | | /// <param name="status"> Operation status. </param> |
| | 29 | | /// <param name="createdDateTime"> Date and time (UTC) when the analyze operation was submitted. </param> |
| | 30 | | /// <param name="lastUpdatedDateTime"> Date and time (UTC) when the status was last updated. </param> |
| | 31 | | /// <param name="analyzeResult"> Results of the analyze operation. </param> |
| 1058 | 32 | | internal AnalyzeOperationResult(OperationStatus status, DateTimeOffset createdDateTime, DateTimeOffset lastUpdat |
| | 33 | | { |
| 1058 | 34 | | Status = status; |
| 1058 | 35 | | CreatedDateTime = createdDateTime; |
| 1058 | 36 | | LastUpdatedDateTime = lastUpdatedDateTime; |
| 1058 | 37 | | AnalyzeResult = analyzeResult; |
| 1058 | 38 | | } |
| | 39 | |
|
| | 40 | | /// <summary> Operation status. </summary> |
| 1968 | 41 | | public OperationStatus Status { get; } |
| | 42 | | /// <summary> Date and time (UTC) when the analyze operation was submitted. </summary> |
| 0 | 43 | | public DateTimeOffset CreatedDateTime { get; } |
| | 44 | | /// <summary> Date and time (UTC) when the status was last updated. </summary> |
| 0 | 45 | | public DateTimeOffset LastUpdatedDateTime { get; } |
| | 46 | | /// <summary> Results of the analyze operation. </summary> |
| 200 | 47 | | public AnalyzeResult AnalyzeResult { get; } |
| | 48 | | } |
| | 49 | | } |