| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.DigitalTwins.Core |
| | 9 | | { |
| | 10 | | /// <summary> An incoming relationship. </summary> |
| | 11 | | public partial class IncomingRelationship |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of IncomingRelationship. </summary> |
| 0 | 14 | | internal IncomingRelationship() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of IncomingRelationship. </summary> |
| | 19 | | /// <param name="relationshipId"> A user-provided string representing the id of this relationship, unique in the |
| | 20 | | /// <param name="sourceId"> The id of the source digital twin. </param> |
| | 21 | | /// <param name="relationshipName"> The name of the relationship. </param> |
| | 22 | | /// <param name="relationshipLink"> Link to the relationship, to be used for deletion. </param> |
| 8 | 23 | | internal IncomingRelationship(string relationshipId, string sourceId, string relationshipName, string relationsh |
| | 24 | | { |
| 8 | 25 | | RelationshipId = relationshipId; |
| 8 | 26 | | SourceId = sourceId; |
| 8 | 27 | | RelationshipName = relationshipName; |
| 8 | 28 | | RelationshipLink = relationshipLink; |
| 8 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> A user-provided string representing the id of this relationship, unique in the context of the sour |
| 0 | 32 | | public string RelationshipId { get; } |
| | 33 | | /// <summary> The id of the source digital twin. </summary> |
| 0 | 34 | | public string SourceId { get; } |
| | 35 | | /// <summary> The name of the relationship. </summary> |
| 0 | 36 | | public string RelationshipName { get; } |
| | 37 | | /// <summary> Link to the relationship, to be used for deletion. </summary> |
| 0 | 38 | | public string RelationshipLink { get; } |
| | 39 | | } |
| | 40 | | } |