-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
DefaultErrorResponseError.cs
48 lines (42 loc) · 2.06 KB
/
DefaultErrorResponseError.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Applications.Containers.Models
{
/// <summary> Error model. </summary>
public partial class DefaultErrorResponseError
{
/// <summary> Initializes a new instance of DefaultErrorResponseError. </summary>
internal DefaultErrorResponseError()
{
Details = new ChangeTrackingList<DefaultErrorResponseErrorDetailsItem>();
}
/// <summary> Initializes a new instance of DefaultErrorResponseError. </summary>
/// <param name="code"> Standardized string to programmatically identify the error. </param>
/// <param name="message"> Detailed error description and debugging information. </param>
/// <param name="target"> Detailed error description and debugging information. </param>
/// <param name="details"> Details or the error. </param>
/// <param name="innerError"> More information to debug error. </param>
internal DefaultErrorResponseError(string code, string message, string target, IReadOnlyList<DefaultErrorResponseErrorDetailsItem> details, string innerError)
{
Code = code;
Message = message;
Target = target;
Details = details;
InnerError = innerError;
}
/// <summary> Standardized string to programmatically identify the error. </summary>
public string Code { get; }
/// <summary> Detailed error description and debugging information. </summary>
public string Message { get; }
/// <summary> Detailed error description and debugging information. </summary>
public string Target { get; }
/// <summary> Details or the error. </summary>
public IReadOnlyList<DefaultErrorResponseErrorDetailsItem> Details { get; }
/// <summary> More information to debug error. </summary>
public string InnerError { get; }
}
}