| | 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.LocalSearch.Models |
| | 8 | | { |
| | 9 | | using Newtonsoft.Json; |
| | 10 | | using System.Linq; |
| | 11 | |
|
| | 12 | | /// <summary> |
| | 13 | | /// Defines the identity of a resource. |
| | 14 | | /// </summary> |
| | 15 | | public partial class Identifiable : ResponseBase |
| | 16 | | { |
| | 17 | | /// <summary> |
| | 18 | | /// Initializes a new instance of the Identifiable class. |
| | 19 | | /// </summary> |
| 0 | 20 | | public Identifiable() |
| | 21 | | { |
| | 22 | | CustomInit(); |
| 0 | 23 | | } |
| | 24 | |
|
| | 25 | | /// <summary> |
| | 26 | | /// Initializes a new instance of the Identifiable class. |
| | 27 | | /// </summary> |
| | 28 | | /// <param name="id">A String identifier.</param> |
| 0 | 29 | | public Identifiable(string id = default(string)) |
| | 30 | | { |
| 0 | 31 | | Id = id; |
| | 32 | | CustomInit(); |
| 0 | 33 | | } |
| | 34 | |
|
| | 35 | | /// <summary> |
| | 36 | | /// An initialization method that performs custom operations like setting defaults |
| | 37 | | /// </summary> |
| | 38 | | partial void CustomInit(); |
| | 39 | |
|
| | 40 | | /// <summary> |
| | 41 | | /// Gets a String identifier. |
| | 42 | | /// </summary> |
| | 43 | | [JsonProperty(PropertyName = "id")] |
| 0 | 44 | | public string Id { get; private set; } |
| | 45 | |
|
| | 46 | | } |
| | 47 | | } |