| | | 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.Storage.Models |
| | | 9 | | { |
| | | 10 | | /// <summary> An error response from the storage resource provider. </summary> |
| | | 11 | | internal partial class ErrorResponse |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of ErrorResponse. </summary> |
| | 0 | 14 | | internal ErrorResponse() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of ErrorResponse. </summary> |
| | | 19 | | /// <param name="code"> An identifier for the error. Codes are invariant and are intended to be consumed program |
| | | 20 | | /// <param name="message"> A message describing the error, intended to be suitable for display in a user interfa |
| | 0 | 21 | | internal ErrorResponse(string code, string message) |
| | | 22 | | { |
| | 0 | 23 | | Code = code; |
| | 0 | 24 | | Message = message; |
| | 0 | 25 | | } |
| | | 26 | | |
| | | 27 | | /// <summary> An identifier for the error. Codes are invariant and are intended to be consumed programmatically. |
| | 0 | 28 | | public string Code { get; } |
| | | 29 | | /// <summary> A message describing the error, intended to be suitable for display in a user interface. </summary |
| | 0 | 30 | | public string Message { get; } |
| | | 31 | | } |
| | | 32 | | } |