| | | 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 copy operation. </summary> |
| | | 14 | | internal partial class CopyOperationResult |
| | | 15 | | { |
| | | 16 | | /// <summary> Initializes a new instance of CopyOperationResult. </summary> |
| | | 17 | | /// <param name="status"> Operation status. </param> |
| | | 18 | | /// <param name="createdDateTime"> Date and time (UTC) when the copy operation was submitted. </param> |
| | | 19 | | /// <param name="lastUpdatedDateTime"> Date and time (UTC) when the status was last updated. </param> |
| | 0 | 20 | | internal CopyOperationResult(OperationStatus status, DateTimeOffset createdDateTime, DateTimeOffset lastUpdatedD |
| | | 21 | | { |
| | 0 | 22 | | Status = status; |
| | 0 | 23 | | CreatedDateTime = createdDateTime; |
| | 0 | 24 | | LastUpdatedDateTime = lastUpdatedDateTime; |
| | 0 | 25 | | } |
| | | 26 | | |
| | | 27 | | /// <summary> Initializes a new instance of CopyOperationResult. </summary> |
| | | 28 | | /// <param name="status"> Operation status. </param> |
| | | 29 | | /// <param name="createdDateTime"> Date and time (UTC) when the copy operation was submitted. </param> |
| | | 30 | | /// <param name="lastUpdatedDateTime"> Date and time (UTC) when the status was last updated. </param> |
| | | 31 | | /// <param name="copyResult"> Results of the copy operation. </param> |
| | 186 | 32 | | internal CopyOperationResult(OperationStatus status, DateTimeOffset createdDateTime, DateTimeOffset lastUpdatedD |
| | | 33 | | { |
| | 186 | 34 | | Status = status; |
| | 186 | 35 | | CreatedDateTime = createdDateTime; |
| | 186 | 36 | | LastUpdatedDateTime = lastUpdatedDateTime; |
| | 186 | 37 | | CopyResult = copyResult; |
| | 186 | 38 | | } |
| | | 39 | | |
| | | 40 | | /// <summary> Operation status. </summary> |
| | 364 | 41 | | public OperationStatus Status { get; } |
| | | 42 | | /// <summary> Date and time (UTC) when the copy operation was submitted. </summary> |
| | 8 | 43 | | public DateTimeOffset CreatedDateTime { get; } |
| | | 44 | | /// <summary> Date and time (UTC) when the status was last updated. </summary> |
| | 8 | 45 | | public DateTimeOffset LastUpdatedDateTime { get; } |
| | | 46 | | /// <summary> Results of the copy operation. </summary> |
| | 4 | 47 | | public CopyResult CopyResult { get; } |
| | | 48 | | } |
| | | 49 | | } |