| | 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.Network.Models |
| | 9 | | { |
| | 10 | | /// <summary> Common error details representation. </summary> |
| | 11 | | internal partial class ErrorDetails |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of ErrorDetails. </summary> |
| 0 | 14 | | internal ErrorDetails() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of ErrorDetails. </summary> |
| | 19 | | /// <param name="code"> Error code. </param> |
| | 20 | | /// <param name="target"> Error target. </param> |
| | 21 | | /// <param name="message"> Error message. </param> |
| 0 | 22 | | internal ErrorDetails(string code, string target, string message) |
| | 23 | | { |
| 0 | 24 | | Code = code; |
| 0 | 25 | | Target = target; |
| 0 | 26 | | Message = message; |
| 0 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> Error code. </summary> |
| 0 | 30 | | public string Code { get; } |
| | 31 | | /// <summary> Error target. </summary> |
| 0 | 32 | | public string Target { get; } |
| | 33 | | /// <summary> Error message. </summary> |
| 0 | 34 | | public string Message { get; } |
| | 35 | | } |
| | 36 | | } |