-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DataTransferDetailsValidationContent.cs
37 lines (32 loc) · 1.63 KB
/
DataTransferDetailsValidationContent.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
// 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.DataBox.Models
{
/// <summary> Request to validate export and import data details. </summary>
public partial class DataTransferDetailsValidationContent : DataBoxValidationInputContent
{
/// <summary> Initializes a new instance of DataTransferDetailsValidationContent. </summary>
/// <param name="deviceType"> Device type. </param>
/// <param name="transferType"> Type of the transfer. </param>
public DataTransferDetailsValidationContent(DataBoxSkuName deviceType, DataBoxJobTransferType transferType)
{
DataExportDetails = new ChangeTrackingList<DataExportDetails>();
DataImportDetails = new ChangeTrackingList<DataImportDetails>();
DeviceType = deviceType;
TransferType = transferType;
ValidationType = DataBoxValidationInputDiscriminator.ValidateDataTransferDetails;
}
/// <summary> List of DataTransfer details to be used to export data from azure. </summary>
public IList<DataExportDetails> DataExportDetails { get; }
/// <summary> List of DataTransfer details to be used to import data to azure. </summary>
public IList<DataImportDetails> DataImportDetails { get; }
/// <summary> Device type. </summary>
public DataBoxSkuName DeviceType { get; }
/// <summary> Type of the transfer. </summary>
public DataBoxJobTransferType TransferType { get; }
}
}