| | 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.Security.KeyVault.Administration.Models |
| | 9 | | { |
| | 10 | | /// <summary> Role Assignments. </summary> |
| | 11 | | public partial class RoleAssignment |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of RoleAssignment. </summary> |
| 0 | 14 | | internal RoleAssignment() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of RoleAssignment. </summary> |
| | 19 | | /// <param name="id"> The role assignment ID. </param> |
| | 20 | | /// <param name="name"> The role assignment name. </param> |
| | 21 | | /// <param name="type"> The role assignment type. </param> |
| | 22 | | /// <param name="properties"> Role assignment properties. </param> |
| 106 | 23 | | internal RoleAssignment(string id, string name, string type, RoleAssignmentPropertiesWithScope properties) |
| | 24 | | { |
| 106 | 25 | | Id = id; |
| 106 | 26 | | Name = name; |
| 106 | 27 | | Type = type; |
| 106 | 28 | | Properties = properties; |
| 106 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> The role assignment ID. </summary> |
| 20 | 32 | | public string Id { get; } |
| | 33 | | /// <summary> The role assignment name. </summary> |
| 62 | 34 | | public string Name { get; } |
| | 35 | | /// <summary> The role assignment type. </summary> |
| 20 | 36 | | public string Type { get; } |
| | 37 | | /// <summary> Role assignment properties. </summary> |
| 84 | 38 | | public RoleAssignmentPropertiesWithScope Properties { get; } |
| | 39 | | } |
| | 40 | | } |