| | | 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.Management.Search.Models |
| | | 12 | | { |
| | | 13 | | using Newtonsoft.Json; |
| | | 14 | | using System.Linq; |
| | | 15 | | |
| | | 16 | | /// <summary> |
| | | 17 | | /// The object that describes the operation. |
| | | 18 | | /// </summary> |
| | | 19 | | public partial class OperationDisplay |
| | | 20 | | { |
| | | 21 | | /// <summary> |
| | | 22 | | /// Initializes a new instance of the OperationDisplay class. |
| | | 23 | | /// </summary> |
| | 0 | 24 | | public OperationDisplay() |
| | | 25 | | { |
| | | 26 | | CustomInit(); |
| | 0 | 27 | | } |
| | | 28 | | |
| | | 29 | | /// <summary> |
| | | 30 | | /// Initializes a new instance of the OperationDisplay class. |
| | | 31 | | /// </summary> |
| | | 32 | | /// <param name="provider">The friendly name of the resource |
| | | 33 | | /// provider.</param> |
| | | 34 | | /// <param name="operation">The operation type: read, write, delete, |
| | | 35 | | /// listKeys/action, etc.</param> |
| | | 36 | | /// <param name="resource">The resource type on which the operation is |
| | | 37 | | /// performed.</param> |
| | | 38 | | /// <param name="description">The friendly name of the |
| | | 39 | | /// operation.</param> |
| | 0 | 40 | | public OperationDisplay(string provider = default(string), string operation = default(string), string resource = |
| | | 41 | | { |
| | 0 | 42 | | Provider = provider; |
| | 0 | 43 | | Operation = operation; |
| | 0 | 44 | | Resource = resource; |
| | 0 | 45 | | Description = description; |
| | | 46 | | CustomInit(); |
| | 0 | 47 | | } |
| | | 48 | | |
| | | 49 | | /// <summary> |
| | | 50 | | /// An initialization method that performs custom operations like setting defaults |
| | | 51 | | /// </summary> |
| | | 52 | | partial void CustomInit(); |
| | | 53 | | |
| | | 54 | | /// <summary> |
| | | 55 | | /// Gets the friendly name of the resource provider. |
| | | 56 | | /// </summary> |
| | | 57 | | [JsonProperty(PropertyName = "provider")] |
| | 0 | 58 | | public string Provider { get; private set; } |
| | | 59 | | |
| | | 60 | | /// <summary> |
| | | 61 | | /// Gets the operation type: read, write, delete, listKeys/action, etc. |
| | | 62 | | /// </summary> |
| | | 63 | | [JsonProperty(PropertyName = "operation")] |
| | 0 | 64 | | public string Operation { get; private set; } |
| | | 65 | | |
| | | 66 | | /// <summary> |
| | | 67 | | /// Gets the resource type on which the operation is performed. |
| | | 68 | | /// </summary> |
| | | 69 | | [JsonProperty(PropertyName = "resource")] |
| | 0 | 70 | | public string Resource { get; private set; } |
| | | 71 | | |
| | | 72 | | /// <summary> |
| | | 73 | | /// Gets the friendly name of the operation. |
| | | 74 | | /// </summary> |
| | | 75 | | [JsonProperty(PropertyName = "description")] |
| | 0 | 76 | | public string Description { get; private set; } |
| | | 77 | | |
| | | 78 | | } |
| | | 79 | | } |