-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DataBoxOrderPreferences.cs
34 lines (31 loc) · 1.3 KB
/
DataBoxOrderPreferences.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.ComponentModel;
namespace Azure.ResourceManager.DataBox.Models
{
public partial class DataBoxOrderPreferences
{
/// <summary> Indicates Shipment Logistics type that the customer preferred. </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public TransportShipmentType? TransportPreferencesPreferredShipmentType
{
get => TransportPreferences is null ? default(TransportShipmentType?) : TransportPreferences.PreferredShipmentType;
set
{
TransportPreferences = value.HasValue ? new TransportPreferences(value.Value) : null;
}
}
/// <summary> Defines secondary layer of software-based encryption enablement. </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public DataBoxDoubleEncryption? DoubleEncryption
{
get => EncryptionPreferences is null ? default : EncryptionPreferences.DoubleEncryption;
set
{
if (EncryptionPreferences is null)
EncryptionPreferences = new DataBoxEncryptionPreferences();
EncryptionPreferences.DoubleEncryption = value;
}
}
}
}