| | 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.Collections.Generic; |
| | 9 | | using Azure.Core; |
| | 10 | |
|
| | 11 | | namespace Azure.DigitalTwins.Core |
| | 12 | | { |
| | 13 | | /// <summary> A collection of EventRoute objects. </summary> |
| | 14 | | internal partial class EventRouteCollection |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of EventRouteCollection. </summary> |
| 0 | 17 | | internal EventRouteCollection() |
| | 18 | | { |
| 0 | 19 | | Value = new ChangeTrackingList<EventRoute>(); |
| 0 | 20 | | } |
| | 21 | |
|
| | 22 | | /// <summary> Initializes a new instance of EventRouteCollection. </summary> |
| | 23 | | /// <param name="value"> The EventRoute objects. </param> |
| | 24 | | /// <param name="nextLink"> A URI to retrieve the next page of results. </param> |
| 4 | 25 | | internal EventRouteCollection(IReadOnlyList<EventRoute> value, string nextLink) |
| | 26 | | { |
| 4 | 27 | | Value = value; |
| 4 | 28 | | NextLink = nextLink; |
| 4 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> The EventRoute objects. </summary> |
| 4 | 32 | | public IReadOnlyList<EventRoute> Value { get; } |
| | 33 | | /// <summary> A URI to retrieve the next page of results. </summary> |
| 4 | 34 | | public string NextLink { get; } |
| | 35 | | } |
| | 36 | | } |