| | | 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.ResourceManager.KeyVault.Models |
| | | 9 | | { |
| | | 10 | | /// <summary> An error response from Key Vault resource provider. </summary> |
| | | 11 | | internal partial class CloudErrorBody |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of CloudErrorBody. </summary> |
| | 0 | 14 | | internal CloudErrorBody() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of CloudErrorBody. </summary> |
| | | 19 | | /// <param name="code"> Error code. This is a mnemonic that can be consumed programmatically. </param> |
| | | 20 | | /// <param name="message"> User friendly error message. The message is typically localized and may vary with ser |
| | 0 | 21 | | internal CloudErrorBody(string code, string message) |
| | | 22 | | { |
| | 0 | 23 | | Code = code; |
| | 0 | 24 | | Message = message; |
| | 0 | 25 | | } |
| | | 26 | | |
| | | 27 | | /// <summary> Error code. This is a mnemonic that can be consumed programmatically. </summary> |
| | 0 | 28 | | public string Code { get; } |
| | | 29 | | /// <summary> User friendly error message. The message is typically localized and may vary with service version. |
| | 0 | 30 | | public string Message { get; } |
| | | 31 | | } |
| | | 32 | | } |