| | 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 | |
|
| | 10 | | namespace Azure.Analytics.Synapse.Artifacts.Models |
| | 11 | | { |
| | 12 | | /// <summary> Pipeline reference type. </summary> |
| | 13 | | public partial class PipelineReference |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of PipelineReference. </summary> |
| | 16 | | /// <param name="type"> Pipeline reference type. </param> |
| | 17 | | /// <param name="referenceName"> Reference pipeline name. </param> |
| | 18 | | /// <exception cref="ArgumentNullException"> <paramref name="referenceName"/> is null. </exception> |
| 0 | 19 | | public PipelineReference(PipelineReferenceType type, string referenceName) |
| | 20 | | { |
| 0 | 21 | | if (referenceName == null) |
| | 22 | | { |
| 0 | 23 | | throw new ArgumentNullException(nameof(referenceName)); |
| | 24 | | } |
| | 25 | |
|
| 0 | 26 | | Type = type; |
| 0 | 27 | | ReferenceName = referenceName; |
| 0 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> Initializes a new instance of PipelineReference. </summary> |
| | 31 | | /// <param name="type"> Pipeline reference type. </param> |
| | 32 | | /// <param name="referenceName"> Reference pipeline name. </param> |
| | 33 | | /// <param name="name"> Reference name. </param> |
| 0 | 34 | | internal PipelineReference(PipelineReferenceType type, string referenceName, string name) |
| | 35 | | { |
| 0 | 36 | | Type = type; |
| 0 | 37 | | ReferenceName = referenceName; |
| 0 | 38 | | Name = name; |
| 0 | 39 | | } |
| | 40 | |
|
| | 41 | | /// <summary> Pipeline reference type. </summary> |
| 0 | 42 | | public PipelineReferenceType Type { get; set; } |
| | 43 | | /// <summary> Reference pipeline name. </summary> |
| 0 | 44 | | public string ReferenceName { get; set; } |
| | 45 | | /// <summary> Reference name. </summary> |
| 0 | 46 | | public string Name { get; set; } |
| | 47 | | } |
| | 48 | | } |