| | | 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.EventGrid.Models |
| | | 12 | | { |
| | | 13 | | using Newtonsoft.Json; |
| | | 14 | | using System.Linq; |
| | | 15 | | |
| | | 16 | | /// <summary> |
| | | 17 | | /// Schema of the Data property of an EventGridEvent for an |
| | | 18 | | /// Microsoft.Web.AppServicePlanUpdated event. |
| | | 19 | | /// </summary> |
| | | 20 | | public partial class WebAppServicePlanUpdatedEventData |
| | | 21 | | { |
| | | 22 | | /// <summary> |
| | | 23 | | /// Initializes a new instance of the WebAppServicePlanUpdatedEventData |
| | | 24 | | /// class. |
| | | 25 | | /// </summary> |
| | 1 | 26 | | public WebAppServicePlanUpdatedEventData() |
| | | 27 | | { |
| | | 28 | | CustomInit(); |
| | 1 | 29 | | } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Initializes a new instance of the WebAppServicePlanUpdatedEventData |
| | | 33 | | /// class. |
| | | 34 | | /// </summary> |
| | | 35 | | /// <param name="sku">sku of app service plan.</param> |
| | | 36 | | /// <param name="name">name of the app service plan that had this |
| | | 37 | | /// event.</param> |
| | | 38 | | /// <param name="clientRequestId">The client request id generated by |
| | | 39 | | /// the app service for the app service plan API operation that |
| | | 40 | | /// triggered this event.</param> |
| | | 41 | | /// <param name="correlationRequestId">The correlation request id |
| | | 42 | | /// generated by the app service for the app service plan API operation |
| | | 43 | | /// that triggered this event.</param> |
| | | 44 | | /// <param name="requestId">The request id generated by the app service |
| | | 45 | | /// for the app service plan API operation that triggered this |
| | | 46 | | /// event.</param> |
| | | 47 | | /// <param name="address">HTTP request URL of this operation.</param> |
| | | 48 | | /// <param name="verb">HTTP verb of this operation.</param> |
| | 0 | 49 | | public WebAppServicePlanUpdatedEventData(AppServicePlanEventTypeDetail appServicePlanEventTypeDetail = default(A |
| | | 50 | | { |
| | 0 | 51 | | AppServicePlanEventTypeDetail = appServicePlanEventTypeDetail; |
| | 0 | 52 | | Sku = sku; |
| | 0 | 53 | | Name = name; |
| | 0 | 54 | | ClientRequestId = clientRequestId; |
| | 0 | 55 | | CorrelationRequestId = correlationRequestId; |
| | 0 | 56 | | RequestId = requestId; |
| | 0 | 57 | | Address = address; |
| | 0 | 58 | | Verb = verb; |
| | | 59 | | CustomInit(); |
| | 0 | 60 | | } |
| | | 61 | | |
| | | 62 | | /// <summary> |
| | | 63 | | /// An initialization method that performs custom operations like setting defaults |
| | | 64 | | /// </summary> |
| | | 65 | | partial void CustomInit(); |
| | | 66 | | |
| | | 67 | | /// <summary> |
| | | 68 | | /// </summary> |
| | | 69 | | [JsonProperty(PropertyName = "appServicePlanEventTypeDetail")] |
| | 2 | 70 | | public AppServicePlanEventTypeDetail AppServicePlanEventTypeDetail { get; set; } |
| | | 71 | | |
| | | 72 | | /// <summary> |
| | | 73 | | /// Gets or sets sku of app service plan. |
| | | 74 | | /// </summary> |
| | | 75 | | [JsonProperty(PropertyName = "sku")] |
| | 0 | 76 | | public WebAppServicePlanUpdatedEventDataSku Sku { get; set; } |
| | | 77 | | |
| | | 78 | | /// <summary> |
| | | 79 | | /// Gets or sets name of the app service plan that had this event. |
| | | 80 | | /// </summary> |
| | | 81 | | [JsonProperty(PropertyName = "name")] |
| | 2 | 82 | | public string Name { get; set; } |
| | | 83 | | |
| | | 84 | | /// <summary> |
| | | 85 | | /// Gets or sets the client request id generated by the app service for |
| | | 86 | | /// the app service plan API operation that triggered this event. |
| | | 87 | | /// </summary> |
| | | 88 | | [JsonProperty(PropertyName = "clientRequestId")] |
| | 0 | 89 | | public string ClientRequestId { get; set; } |
| | | 90 | | |
| | | 91 | | /// <summary> |
| | | 92 | | /// Gets or sets the correlation request id generated by the app |
| | | 93 | | /// service for the app service plan API operation that triggered this |
| | | 94 | | /// event. |
| | | 95 | | /// </summary> |
| | | 96 | | [JsonProperty(PropertyName = "correlationRequestId")] |
| | 0 | 97 | | public string CorrelationRequestId { get; set; } |
| | | 98 | | |
| | | 99 | | /// <summary> |
| | | 100 | | /// Gets or sets the request id generated by the app service for the |
| | | 101 | | /// app service plan API operation that triggered this event. |
| | | 102 | | /// </summary> |
| | | 103 | | [JsonProperty(PropertyName = "requestId")] |
| | 0 | 104 | | public string RequestId { get; set; } |
| | | 105 | | |
| | | 106 | | /// <summary> |
| | | 107 | | /// Gets or sets HTTP request URL of this operation. |
| | | 108 | | /// </summary> |
| | | 109 | | [JsonProperty(PropertyName = "address")] |
| | 0 | 110 | | public string Address { get; set; } |
| | | 111 | | |
| | | 112 | | /// <summary> |
| | | 113 | | /// Gets or sets HTTP verb of this operation. |
| | | 114 | | /// </summary> |
| | | 115 | | [JsonProperty(PropertyName = "verb")] |
| | 0 | 116 | | public string Verb { get; set; } |
| | | 117 | | |
| | | 118 | | } |
| | | 119 | | } |