| | 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.Analytics.Synapse.AccessControl.Models |
| | 9 | | { |
| | 10 | | /// <summary> Synapse role details. </summary> |
| | 11 | | public partial class SynapseRole |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of SynapseRole. </summary> |
| | 14 | | /// <param name="isBuiltIn"> Is a built-in role or not. </param> |
| 0 | 15 | | internal SynapseRole(bool isBuiltIn) |
| | 16 | | { |
| 0 | 17 | | IsBuiltIn = isBuiltIn; |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of SynapseRole. </summary> |
| | 21 | | /// <param name="id"> Role ID. </param> |
| | 22 | | /// <param name="name"> Name of the Synapse role. </param> |
| | 23 | | /// <param name="isBuiltIn"> Is a built-in role or not. </param> |
| 36 | 24 | | internal SynapseRole(string id, string name, bool isBuiltIn) |
| | 25 | | { |
| 36 | 26 | | Id = id; |
| 36 | 27 | | Name = name; |
| 36 | 28 | | IsBuiltIn = isBuiltIn; |
| 36 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> Role ID. </summary> |
| 48 | 32 | | public string Id { get; } |
| | 33 | | /// <summary> Name of the Synapse role. </summary> |
| 24 | 34 | | public string Name { get; } |
| | 35 | | /// <summary> Is a built-in role or not. </summary> |
| 36 | 36 | | public bool IsBuiltIn { get; } |
| | 37 | | } |
| | 38 | | } |