-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DataBoxEdgeOrderData.cs
79 lines (73 loc) · 4.52 KB
/
DataBoxEdgeOrderData.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.DataBoxEdge.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.DataBoxEdge
{
/// <summary>
/// A class representing the DataBoxEdgeOrder data model.
/// The order details.
/// </summary>
public partial class DataBoxEdgeOrderData : ResourceData
{
/// <summary> Initializes a new instance of DataBoxEdgeOrderData. </summary>
public DataBoxEdgeOrderData()
{
OrderHistory = new ChangeTrackingList<DataBoxEdgeOrderStatus>();
DeliveryTrackingInfo = new ChangeTrackingList<DataBoxEdgeTrackingInfo>();
ReturnTrackingInfo = new ChangeTrackingList<DataBoxEdgeTrackingInfo>();
}
/// <summary> Initializes a new instance of DataBoxEdgeOrderData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="kind"> It specify the order api version. </param>
/// <param name="orderId"> It specify the order resource id. </param>
/// <param name="contactInformation"> The contact details. </param>
/// <param name="shippingAddress"> The shipping address. </param>
/// <param name="currentStatus"> Current status of the order. </param>
/// <param name="orderHistory"> List of status changes in the order. </param>
/// <param name="serialNumber"> Serial number of the device. </param>
/// <param name="deliveryTrackingInfo"> Tracking information for the package delivered to the customer whether it has an original or a replacement device. </param>
/// <param name="returnTrackingInfo"> Tracking information for the package returned from the customer whether it has an original or a replacement device. </param>
/// <param name="shipmentType"> ShipmentType of the order. </param>
internal DataBoxEdgeOrderData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string orderId, DataBoxEdgeContactDetails contactInformation, DataBoxEdgeShippingAddress shippingAddress, DataBoxEdgeOrderStatus currentStatus, IReadOnlyList<DataBoxEdgeOrderStatus> orderHistory, string serialNumber, IReadOnlyList<DataBoxEdgeTrackingInfo> deliveryTrackingInfo, IReadOnlyList<DataBoxEdgeTrackingInfo> returnTrackingInfo, DataBoxEdgeShipmentType? shipmentType) : base(id, name, resourceType, systemData)
{
Kind = kind;
OrderId = orderId;
ContactInformation = contactInformation;
ShippingAddress = shippingAddress;
CurrentStatus = currentStatus;
OrderHistory = orderHistory;
SerialNumber = serialNumber;
DeliveryTrackingInfo = deliveryTrackingInfo;
ReturnTrackingInfo = returnTrackingInfo;
ShipmentType = shipmentType;
}
/// <summary> It specify the order api version. </summary>
public string Kind { get; }
/// <summary> It specify the order resource id. </summary>
public string OrderId { get; }
/// <summary> The contact details. </summary>
public DataBoxEdgeContactDetails ContactInformation { get; set; }
/// <summary> The shipping address. </summary>
public DataBoxEdgeShippingAddress ShippingAddress { get; set; }
/// <summary> Current status of the order. </summary>
public DataBoxEdgeOrderStatus CurrentStatus { get; }
/// <summary> List of status changes in the order. </summary>
public IReadOnlyList<DataBoxEdgeOrderStatus> OrderHistory { get; }
/// <summary> Serial number of the device. </summary>
public string SerialNumber { get; }
/// <summary> Tracking information for the package delivered to the customer whether it has an original or a replacement device. </summary>
public IReadOnlyList<DataBoxEdgeTrackingInfo> DeliveryTrackingInfo { get; }
/// <summary> Tracking information for the package returned from the customer whether it has an original or a replacement device. </summary>
public IReadOnlyList<DataBoxEdgeTrackingInfo> ReturnTrackingInfo { get; }
/// <summary> ShipmentType of the order. </summary>
public DataBoxEdgeShipmentType? ShipmentType { get; set; }
}
}