-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
BulkCollectionsActionResult.cs
37 lines (31 loc) · 1.52 KB
/
BulkCollectionsActionResult.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.Marketplace.Models
{
/// <summary> The bulk collections response. The response contains two lists that indicate for each collection whether the operation succeeded or failed. </summary>
public partial class BulkCollectionsActionResult
{
/// <summary> Initializes a new instance of <see cref="BulkCollectionsActionResult"/>. </summary>
internal BulkCollectionsActionResult()
{
Succeeded = new ChangeTrackingList<PrivateStoreCollectionDetails>();
Failed = new ChangeTrackingList<PrivateStoreCollectionDetails>();
}
/// <summary> Initializes a new instance of <see cref="BulkCollectionsActionResult"/>. </summary>
/// <param name="succeeded"> Succeeded collections. </param>
/// <param name="failed"> Failed collections. </param>
internal BulkCollectionsActionResult(IReadOnlyList<PrivateStoreCollectionDetails> succeeded, IReadOnlyList<PrivateStoreCollectionDetails> failed)
{
Succeeded = succeeded;
Failed = failed;
}
/// <summary> Succeeded collections. </summary>
public IReadOnlyList<PrivateStoreCollectionDetails> Succeeded { get; }
/// <summary> Failed collections. </summary>
public IReadOnlyList<PrivateStoreCollectionDetails> Failed { get; }
}
}