| | | 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 incoming relationships which relate digital twins together. </summary> |
| | | 14 | | internal partial class IncomingRelationshipCollection |
| | | 15 | | { |
| | | 16 | | /// <summary> Initializes a new instance of IncomingRelationshipCollection. </summary> |
| | 0 | 17 | | internal IncomingRelationshipCollection() |
| | | 18 | | { |
| | 0 | 19 | | Value = new ChangeTrackingList<IncomingRelationship>(); |
| | 0 | 20 | | } |
| | | 21 | | |
| | | 22 | | /// <summary> Initializes a new instance of IncomingRelationshipCollection. </summary> |
| | | 23 | | /// <param name="value"> . </param> |
| | | 24 | | /// <param name="nextLink"> A URI to retrieve the next page of objects. </param> |
| | 4 | 25 | | internal IncomingRelationshipCollection(IReadOnlyList<IncomingRelationship> value, string nextLink) |
| | | 26 | | { |
| | 4 | 27 | | Value = value; |
| | 4 | 28 | | NextLink = nextLink; |
| | 4 | 29 | | } |
| | | 30 | | |
| | 4 | 31 | | public IReadOnlyList<IncomingRelationship> Value { get; } |
| | | 32 | | /// <summary> A URI to retrieve the next page of objects. </summary> |
| | 4 | 33 | | public string NextLink { get; } |
| | | 34 | | } |
| | | 35 | | } |