|  |  | 1 |  | // <auto-generated> | 
|  |  | 2 |  | // Copyright (c) Microsoft Corporation. All rights reserved. | 
|  |  | 3 |  | // Licensed under the MIT License. See License.txt in the project root for | 
|  |  | 4 |  | // license information. | 
|  |  | 5 |  | // | 
|  |  | 6 |  | // Code generated by Microsoft (R) AutoRest Code Generator. | 
|  |  | 7 |  | // Changes may cause incorrect behavior and will be lost if the code is | 
|  |  | 8 |  | // regenerated. | 
|  |  | 9 |  | // </auto-generated> | 
|  |  | 10 |  |  | 
|  |  | 11 |  | namespace Microsoft.Azure.KeyVault.Models | 
|  |  | 12 |  | { | 
|  |  | 13 |  |     using Newtonsoft.Json; | 
|  |  | 14 |  |     using System.Collections; | 
|  |  | 15 |  |     using System.Collections.Generic; | 
|  |  | 16 |  |     using System.Linq; | 
|  |  | 17 |  |  | 
|  |  | 18 |  |     /// <summary> | 
|  |  | 19 |  |     /// The SAS definition item containing storage SAS definition metadata. | 
|  |  | 20 |  |     /// </summary> | 
|  |  | 21 |  |     public partial class SasDefinitionItem | 
|  |  | 22 |  |     { | 
|  |  | 23 |  |         /// <summary> | 
|  |  | 24 |  |         /// Initializes a new instance of the SasDefinitionItem class. | 
|  |  | 25 |  |         /// </summary> | 
|  | 0 | 26 |  |         public SasDefinitionItem() | 
|  |  | 27 |  |         { | 
|  |  | 28 |  |             CustomInit(); | 
|  | 0 | 29 |  |         } | 
|  |  | 30 |  |  | 
|  |  | 31 |  |         /// <summary> | 
|  |  | 32 |  |         /// Initializes a new instance of the SasDefinitionItem class. | 
|  |  | 33 |  |         /// </summary> | 
|  |  | 34 |  |         /// <param name="id">The storage SAS identifier.</param> | 
|  |  | 35 |  |         /// <param name="secretId">The storage account SAS definition secret | 
|  |  | 36 |  |         /// id.</param> | 
|  |  | 37 |  |         /// <param name="attributes">The SAS definition management | 
|  |  | 38 |  |         /// attributes.</param> | 
|  |  | 39 |  |         /// <param name="tags">Application specific metadata in the form of | 
|  |  | 40 |  |         /// key-value pairs.</param> | 
|  | 0 | 41 |  |         public SasDefinitionItem(string id = default(string), string secretId = default(string), SasDefinitionAttributes | 
|  |  | 42 |  |         { | 
|  | 0 | 43 |  |             Id = id; | 
|  | 0 | 44 |  |             SecretId = secretId; | 
|  | 0 | 45 |  |             Attributes = attributes; | 
|  | 0 | 46 |  |             Tags = tags; | 
|  |  | 47 |  |             CustomInit(); | 
|  | 0 | 48 |  |         } | 
|  |  | 49 |  |  | 
|  |  | 50 |  |         /// <summary> | 
|  |  | 51 |  |         /// An initialization method that performs custom operations like setting defaults | 
|  |  | 52 |  |         /// </summary> | 
|  |  | 53 |  |         partial void CustomInit(); | 
|  |  | 54 |  |  | 
|  |  | 55 |  |         /// <summary> | 
|  |  | 56 |  |         /// Gets the storage SAS identifier. | 
|  |  | 57 |  |         /// </summary> | 
|  |  | 58 |  |         [JsonProperty(PropertyName = "id")] | 
|  | 0 | 59 |  |         public string Id { get; private set; } | 
|  |  | 60 |  |  | 
|  |  | 61 |  |         /// <summary> | 
|  |  | 62 |  |         /// Gets the storage account SAS definition secret id. | 
|  |  | 63 |  |         /// </summary> | 
|  |  | 64 |  |         [JsonProperty(PropertyName = "sid")] | 
|  | 0 | 65 |  |         public string SecretId { get; private set; } | 
|  |  | 66 |  |  | 
|  |  | 67 |  |         /// <summary> | 
|  |  | 68 |  |         /// Gets the SAS definition management attributes. | 
|  |  | 69 |  |         /// </summary> | 
|  |  | 70 |  |         [JsonProperty(PropertyName = "attributes")] | 
|  | 0 | 71 |  |         public SasDefinitionAttributes Attributes { get; private set; } | 
|  |  | 72 |  |  | 
|  |  | 73 |  |         /// <summary> | 
|  |  | 74 |  |         /// Gets application specific metadata in the form of key-value pairs. | 
|  |  | 75 |  |         /// </summary> | 
|  |  | 76 |  |         [JsonProperty(PropertyName = "tags")] | 
|  | 0 | 77 |  |         public IDictionary<string, string> Tags { get; private set; } | 
|  |  | 78 |  |  | 
|  |  | 79 |  |     } | 
|  |  | 80 |  | } |