| | 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 | |
|
| | 10 | | namespace Azure.Security.KeyVault.Administration.Models |
| | 11 | | { |
| | 12 | | /// <summary> Restore operation. </summary> |
| | 13 | | internal partial class RestoreDetailsInternal |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of RestoreDetailsInternal. </summary> |
| 0 | 16 | | internal RestoreDetailsInternal() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of RestoreDetailsInternal. </summary> |
| | 21 | | /// <param name="status"> Status of the restore operation. </param> |
| | 22 | | /// <param name="statusDetails"> The status details of restore operation. </param> |
| | 23 | | /// <param name="error"> Error encountered, if any, during the restore operation. </param> |
| | 24 | | /// <param name="jobId"> Identifier for the restore operation. </param> |
| | 25 | | /// <param name="startTime"> The start time of the restore operation. </param> |
| | 26 | | /// <param name="endTime"> The end time of the restore operation in UTC. </param> |
| 12 | 27 | | internal RestoreDetailsInternal(string status, string statusDetails, KeyVaultServiceError error, string jobId, D |
| | 28 | | { |
| 12 | 29 | | Status = status; |
| 12 | 30 | | StatusDetails = statusDetails; |
| 12 | 31 | | Error = error; |
| 12 | 32 | | JobId = jobId; |
| 12 | 33 | | StartTime = startTime; |
| 12 | 34 | | EndTime = endTime; |
| 12 | 35 | | } |
| | 36 | |
|
| | 37 | | /// <summary> Status of the restore operation. </summary> |
| 0 | 38 | | public string Status { get; } |
| | 39 | | /// <summary> The status details of restore operation. </summary> |
| 0 | 40 | | public string StatusDetails { get; } |
| | 41 | | /// <summary> Error encountered, if any, during the restore operation. </summary> |
| 8 | 42 | | public KeyVaultServiceError Error { get; } |
| | 43 | | /// <summary> Identifier for the restore operation. </summary> |
| 0 | 44 | | public string JobId { get; } |
| | 45 | | /// <summary> The start time of the restore operation. </summary> |
| 0 | 46 | | public DateTimeOffset? StartTime { get; } |
| | 47 | | /// <summary> The end time of the restore operation in UTC. </summary> |
| 32 | 48 | | public DateTimeOffset? EndTime { get; } |
| | 49 | | } |
| | 50 | | } |