| | 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> An error response from the service. </summary> |
| | 11 | | internal partial class CloudError |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of CloudError. </summary> |
| 0 | 14 | | internal CloudError() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of CloudError. </summary> |
| | 19 | | /// <param name="error"> Cloud error body. </param> |
| 0 | 20 | | internal CloudError(CloudErrorBody error) |
| | 21 | | { |
| 0 | 22 | | Error = error; |
| 0 | 23 | | } |
| | 24 | |
|
| | 25 | | /// <summary> Cloud error body. </summary> |
| 0 | 26 | | public CloudErrorBody Error { get; } |
| | 27 | | } |
| | 28 | | } |