-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
MitigateJobContent.cs
41 lines (36 loc) · 1.39 KB
/
MitigateJobContent.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Runtime.CompilerServices;
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.DataBox.Models
{
public partial class MitigateJobContent
{
// This is used to represent default null for breaking change of CustomerResolutionCode changed from required to optional
private CustomerResolutionCode? _customerResolutionCode;
/// <summary> Initializes a new instance of MitigateJobContent. </summary>
public MitigateJobContent()
{
SerialNumberCustomerResolutionMap = new ChangeTrackingDictionary<string, CustomerResolutionCode>();
}
/// <summary> Initializes a new instance of MitigateJobContent. </summary>
/// <param name="customerResolutionCode"> Resolution code for the job. </param>
public MitigateJobContent(CustomerResolutionCode customerResolutionCode) : this()
{
CustomerResolutionCode = customerResolutionCode;
}
/// <summary> Resolution code for the job. </summary>
public CustomerResolutionCode CustomerResolutionCode
{
get
{
return _customerResolutionCode ?? default;
}
private set
{
_customerResolutionCode = value;
}
}
}
}