| | | 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.ResourceManager.Storage.Models |
| | | 11 | | { |
| | | 12 | | /// <summary> The deleted share to be restored. </summary> |
| | | 13 | | public partial class DeletedShare |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of DeletedShare. </summary> |
| | | 16 | | /// <param name="deletedShareName"> Required. Identify the name of the deleted share that will be restored. </pa |
| | | 17 | | /// <param name="deletedShareVersion"> Required. Identify the version of the deleted share that will be restored |
| | 0 | 18 | | public DeletedShare(string deletedShareName, string deletedShareVersion) |
| | | 19 | | { |
| | 0 | 20 | | if (deletedShareName == null) |
| | | 21 | | { |
| | 0 | 22 | | throw new ArgumentNullException(nameof(deletedShareName)); |
| | | 23 | | } |
| | 0 | 24 | | if (deletedShareVersion == null) |
| | | 25 | | { |
| | 0 | 26 | | throw new ArgumentNullException(nameof(deletedShareVersion)); |
| | | 27 | | } |
| | | 28 | | |
| | 0 | 29 | | DeletedShareName = deletedShareName; |
| | 0 | 30 | | DeletedShareVersion = deletedShareVersion; |
| | 0 | 31 | | } |
| | | 32 | | |
| | | 33 | | /// <summary> Required. Identify the name of the deleted share that will be restored. </summary> |
| | 0 | 34 | | public string DeletedShareName { get; } |
| | | 35 | | /// <summary> Required. Identify the version of the deleted share that will be restored. </summary> |
| | 0 | 36 | | public string DeletedShareVersion { get; } |
| | | 37 | | } |
| | | 38 | | } |