-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ExtendedErrorInfo.cs
49 lines (43 loc) · 1.78 KB
/
ExtendedErrorInfo.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
49
// 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.ProviderHub.Models
{
/// <summary> The ExtendedErrorInfo. </summary>
public partial class ExtendedErrorInfo
{
/// <summary> Initializes a new instance of <see cref="ExtendedErrorInfo"/>. </summary>
public ExtendedErrorInfo()
{
Details = new ChangeTrackingList<ExtendedErrorInfo>();
AdditionalInfo = new ChangeTrackingList<TypedErrorInfo>();
}
/// <summary> Initializes a new instance of <see cref="ExtendedErrorInfo"/>. </summary>
/// <param name="code"></param>
/// <param name="target"></param>
/// <param name="message"></param>
/// <param name="details"></param>
/// <param name="additionalInfo"></param>
internal ExtendedErrorInfo(string code, string target, string message, IList<ExtendedErrorInfo> details, IList<TypedErrorInfo> additionalInfo)
{
Code = code;
Target = target;
Message = message;
Details = details;
AdditionalInfo = additionalInfo;
}
/// <summary> Gets or sets the code. </summary>
public string Code { get; set; }
/// <summary> Gets or sets the target. </summary>
public string Target { get; set; }
/// <summary> Gets or sets the message. </summary>
public string Message { get; set; }
/// <summary> Gets the details. </summary>
public IList<ExtendedErrorInfo> Details { get; }
/// <summary> Gets the additional info. </summary>
public IList<TypedErrorInfo> AdditionalInfo { get; }
}
}