| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.Security.KeyVault.Administration.Models |
| | 9 | | { |
| | 10 | | /// <summary> The key vault server error. </summary> |
| | 11 | | public partial class KeyVaultServiceError |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of KeyVaultServiceError. </summary> |
| 0 | 14 | | internal KeyVaultServiceError() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of KeyVaultServiceError. </summary> |
| | 19 | | /// <param name="code"> The error code. </param> |
| | 20 | | /// <param name="message"> The error message. </param> |
| | 21 | | /// <param name="innerError"> The key vault server error. </param> |
| 14 | 22 | | internal KeyVaultServiceError(string code, string message, KeyVaultServiceError innerError) |
| | 23 | | { |
| 14 | 24 | | Code = code; |
| 14 | 25 | | Message = message; |
| 14 | 26 | | InnerError = innerError; |
| 14 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> The error code. </summary> |
| 0 | 30 | | public string Code { get; } |
| | 31 | | /// <summary> The error message. </summary> |
| 0 | 32 | | public string Message { get; } |
| | 33 | | /// <summary> The key vault server error. </summary> |
| 0 | 34 | | public KeyVaultServiceError InnerError { get; } |
| | 35 | | } |
| | 36 | | } |