| | 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.Data.Tables.Models |
| | 11 | | { |
| | 12 | | /// <summary> A signed identifier. </summary> |
| | 13 | | public partial class SignedIdentifier |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of SignedIdentifier. </summary> |
| | 16 | | /// <param name="id"> A unique id. </param> |
| | 17 | | /// <param name="accessPolicy"> The access policy. </param> |
| | 18 | | /// <exception cref="ArgumentNullException"> <paramref name="id"/> or <paramref name="accessPolicy"/> is null. < |
| 8 | 19 | | public SignedIdentifier(string id, TableAccessPolicy accessPolicy) |
| | 20 | | { |
| 8 | 21 | | if (id == null) |
| | 22 | | { |
| 0 | 23 | | throw new ArgumentNullException(nameof(id)); |
| | 24 | | } |
| 8 | 25 | | if (accessPolicy == null) |
| | 26 | | { |
| 0 | 27 | | throw new ArgumentNullException(nameof(accessPolicy)); |
| | 28 | | } |
| | 29 | |
|
| 8 | 30 | | Id = id; |
| 8 | 31 | | AccessPolicy = accessPolicy; |
| 8 | 32 | | } |
| | 33 | |
|
| | 34 | | /// <summary> A unique id. </summary> |
| 20 | 35 | | public string Id { get; set; } |
| | 36 | | /// <summary> The access policy. </summary> |
| 36 | 37 | | public TableAccessPolicy AccessPolicy { get; set; } |
| | 38 | | } |
| | 39 | | } |