-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
DataBoxValidationResult.cs
44 lines (38 loc) · 2.75 KB
/
DataBoxValidationResult.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
// 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> Response of pre job creation validations. </summary>
public partial class DataBoxValidationResult
{
/// <summary> Initializes a new instance of DataBoxValidationResult. </summary>
internal DataBoxValidationResult()
{
IndividualResponseDetails = new ChangeTrackingList<DataBoxValidationInputResult>();
}
/// <summary> Initializes a new instance of DataBoxValidationResult. </summary>
/// <param name="status"> Overall validation status. </param>
/// <param name="individualResponseDetails">
/// List of response details contain validationType and its response as key and value respectively.
/// Please note <see cref="DataBoxValidationInputResult"/> is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
/// The available derived classes include <see cref="CreateOrderLimitForSubscriptionValidationResult"/>, <see cref="DataTransferDetailsValidationResult"/>, <see cref="PreferencesValidationResult"/>, <see cref="SkuAvailabilityValidationResult"/>, <see cref="SubscriptionIsAllowedToCreateJobValidationResult"/> and <see cref="AddressValidationResult"/>.
/// </param>
internal DataBoxValidationResult(OverallValidationStatus? status, IReadOnlyList<DataBoxValidationInputResult> individualResponseDetails)
{
Status = status;
IndividualResponseDetails = individualResponseDetails;
}
/// <summary> Overall validation status. </summary>
public OverallValidationStatus? Status { get; }
/// <summary>
/// List of response details contain validationType and its response as key and value respectively.
/// Please note <see cref="DataBoxValidationInputResult"/> is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
/// The available derived classes include <see cref="CreateOrderLimitForSubscriptionValidationResult"/>, <see cref="DataTransferDetailsValidationResult"/>, <see cref="PreferencesValidationResult"/>, <see cref="SkuAvailabilityValidationResult"/>, <see cref="SubscriptionIsAllowedToCreateJobValidationResult"/> and <see cref="AddressValidationResult"/>.
/// </summary>
public IReadOnlyList<DataBoxValidationInputResult> IndividualResponseDetails { get; }
}
}