| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | | using System.Collections.Generic; |
| | 10 | | using System.Linq; |
| | 11 | |
|
| | 12 | | namespace Azure.Analytics.Synapse.Artifacts.Models |
| | 13 | | { |
| | 14 | | /// <summary> A list activity runs. </summary> |
| | 15 | | public partial class ActivityRunsQueryResponse |
| | 16 | | { |
| | 17 | | /// <summary> Initializes a new instance of ActivityRunsQueryResponse. </summary> |
| | 18 | | /// <param name="value"> List of activity runs. </param> |
| | 19 | | /// <exception cref="ArgumentNullException"> <paramref name="value"/> is null. </exception> |
| 0 | 20 | | internal ActivityRunsQueryResponse(IEnumerable<ActivityRun> value) |
| | 21 | | { |
| 0 | 22 | | if (value == null) |
| | 23 | | { |
| 0 | 24 | | throw new ArgumentNullException(nameof(value)); |
| | 25 | | } |
| | 26 | |
|
| 0 | 27 | | Value = value.ToList(); |
| 0 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> Initializes a new instance of ActivityRunsQueryResponse. </summary> |
| | 31 | | /// <param name="value"> List of activity runs. </param> |
| | 32 | | /// <param name="continuationToken"> The continuation token for getting the next page of results, if any remaini |
| 0 | 33 | | internal ActivityRunsQueryResponse(IReadOnlyList<ActivityRun> value, string continuationToken) |
| | 34 | | { |
| 0 | 35 | | Value = value; |
| 0 | 36 | | ContinuationToken = continuationToken; |
| 0 | 37 | | } |
| | 38 | |
|
| | 39 | | /// <summary> List of activity runs. </summary> |
| 0 | 40 | | public IReadOnlyList<ActivityRun> Value { get; } |
| | 41 | | /// <summary> The continuation token for getting the next page of results, if any remaining results exist, null |
| 0 | 42 | | public string ContinuationToken { get; } |
| | 43 | | } |
| | 44 | | } |