|  |  | 1 |  | // <auto-generated> | 
|  |  | 2 |  | // Code generated by Microsoft (R) AutoRest Code Generator. | 
|  |  | 3 |  | // Changes may cause incorrect behavior and will be lost if the code is | 
|  |  | 4 |  | // regenerated. | 
|  |  | 5 |  | // </auto-generated> | 
|  |  | 6 |  |  | 
|  |  | 7 |  | namespace Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models | 
|  |  | 8 |  | { | 
|  |  | 9 |  |     using Newtonsoft.Json; | 
|  |  | 10 |  |     using System.Linq; | 
|  |  | 11 |  |  | 
|  |  | 12 |  |     /// <summary> | 
|  |  | 13 |  |     /// Defines an item. | 
|  |  | 14 |  |     /// </summary> | 
|  |  | 15 |  |     [Newtonsoft.Json.JsonObject("Properties/Item")] | 
|  |  | 16 |  |     public partial class PropertiesItem | 
|  |  | 17 |  |     { | 
|  |  | 18 |  |         /// <summary> | 
|  |  | 19 |  |         /// Initializes a new instance of the PropertiesItem class. | 
|  |  | 20 |  |         /// </summary> | 
|  | 0 | 21 |  |         public PropertiesItem() | 
|  |  | 22 |  |         { | 
|  |  | 23 |  |             CustomInit(); | 
|  | 0 | 24 |  |         } | 
|  |  | 25 |  |  | 
|  |  | 26 |  |         /// <summary> | 
|  |  | 27 |  |         /// Initializes a new instance of the PropertiesItem class. | 
|  |  | 28 |  |         /// </summary> | 
|  |  | 29 |  |         /// <param name="text">Text representation of an item.</param> | 
|  | 0 | 30 |  |         public PropertiesItem(string text = default(string)) | 
|  |  | 31 |  |         { | 
|  | 0 | 32 |  |             Text = text; | 
|  |  | 33 |  |             CustomInit(); | 
|  | 0 | 34 |  |         } | 
|  |  | 35 |  |  | 
|  |  | 36 |  |         /// <summary> | 
|  |  | 37 |  |         /// An initialization method that performs custom operations like setting defaults | 
|  |  | 38 |  |         /// </summary> | 
|  |  | 39 |  |         partial void CustomInit(); | 
|  |  | 40 |  |  | 
|  |  | 41 |  |         /// <summary> | 
|  |  | 42 |  |         /// Gets text representation of an item. | 
|  |  | 43 |  |         /// </summary> | 
|  |  | 44 |  |         [JsonProperty(PropertyName = "text")] | 
|  | 0 | 45 |  |         public string Text { get; private set; } | 
|  |  | 46 |  |  | 
|  |  | 47 |  |     } | 
|  |  | 48 |  | } |