-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ActivityRunsQueryResponse.cs
41 lines (34 loc) · 1.63 KB
/
ActivityRunsQueryResponse.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> A list activity runs. </summary>
public partial class ActivityRunsQueryResponse
{
/// <summary> Initializes a new instance of <see cref="ActivityRunsQueryResponse"/>. </summary>
/// <param name="value"> List of activity runs. </param>
/// <exception cref="ArgumentNullException"> <paramref name="value"/> is null. </exception>
internal ActivityRunsQueryResponse(IEnumerable<ActivityRun> value)
{
Argument.AssertNotNull(value, nameof(value));
Value = value.ToList();
}
/// <summary> Initializes a new instance of <see cref="ActivityRunsQueryResponse"/>. </summary>
/// <param name="value"> List of activity runs. </param>
/// <param name="continuationToken"> The continuation token for getting the next page of results, if any remaining results exist, null otherwise. </param>
internal ActivityRunsQueryResponse(IReadOnlyList<ActivityRun> value, string continuationToken)
{
Value = value;
ContinuationToken = continuationToken;
}
/// <summary> List of activity runs. </summary>
public IReadOnlyList<ActivityRun> Value { get; }
/// <summary> The continuation token for getting the next page of results, if any remaining results exist, null otherwise. </summary>
public string ContinuationToken { get; }
}
}