| | 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.BackupOperationStarted event. |
| | 19 | | /// </summary> |
| | 20 | | public partial class WebBackupOperationStartedEventData |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the |
| | 24 | | /// WebBackupOperationStartedEventData class. |
| | 25 | | /// </summary> |
| 1 | 26 | | public WebBackupOperationStartedEventData() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 1 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the |
| | 33 | | /// WebBackupOperationStartedEventData class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="name">name of the web site that had this |
| | 36 | | /// event.</param> |
| | 37 | | /// <param name="clientRequestId">The client request id generated by |
| | 38 | | /// the app service for the site API operation that triggered this |
| | 39 | | /// event.</param> |
| | 40 | | /// <param name="correlationRequestId">The correlation request id |
| | 41 | | /// generated by the app service for the site API operation that |
| | 42 | | /// triggered this event.</param> |
| | 43 | | /// <param name="requestId">The request id generated by the app service |
| | 44 | | /// for the site API operation that triggered this event.</param> |
| | 45 | | /// <param name="address">HTTP request URL of this operation.</param> |
| | 46 | | /// <param name="verb">HTTP verb of this operation.</param> |
| 0 | 47 | | public WebBackupOperationStartedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), s |
| | 48 | | { |
| 0 | 49 | | AppEventTypeDetail = appEventTypeDetail; |
| 0 | 50 | | Name = name; |
| 0 | 51 | | ClientRequestId = clientRequestId; |
| 0 | 52 | | CorrelationRequestId = correlationRequestId; |
| 0 | 53 | | RequestId = requestId; |
| 0 | 54 | | Address = address; |
| 0 | 55 | | Verb = verb; |
| | 56 | | CustomInit(); |
| 0 | 57 | | } |
| | 58 | |
|
| | 59 | | /// <summary> |
| | 60 | | /// An initialization method that performs custom operations like setting defaults |
| | 61 | | /// </summary> |
| | 62 | | partial void CustomInit(); |
| | 63 | |
|
| | 64 | | /// <summary> |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "appEventTypeDetail")] |
| 0 | 67 | | public AppEventTypeDetail AppEventTypeDetail { get; set; } |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets or sets name of the web site that had this event. |
| | 71 | | /// </summary> |
| | 72 | | [JsonProperty(PropertyName = "name")] |
| 2 | 73 | | public string Name { get; set; } |
| | 74 | |
|
| | 75 | | /// <summary> |
| | 76 | | /// Gets or sets the client request id generated by the app service for |
| | 77 | | /// the site API operation that triggered this event. |
| | 78 | | /// </summary> |
| | 79 | | [JsonProperty(PropertyName = "clientRequestId")] |
| 0 | 80 | | public string ClientRequestId { get; set; } |
| | 81 | |
|
| | 82 | | /// <summary> |
| | 83 | | /// Gets or sets the correlation request id generated by the app |
| | 84 | | /// service for the site API operation that triggered this event. |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "correlationRequestId")] |
| 0 | 87 | | public string CorrelationRequestId { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets the request id generated by the app service for the |
| | 91 | | /// site API operation that triggered this event. |
| | 92 | | /// </summary> |
| | 93 | | [JsonProperty(PropertyName = "requestId")] |
| 0 | 94 | | public string RequestId { get; set; } |
| | 95 | |
|
| | 96 | | /// <summary> |
| | 97 | | /// Gets or sets HTTP request URL of this operation. |
| | 98 | | /// </summary> |
| | 99 | | [JsonProperty(PropertyName = "address")] |
| 0 | 100 | | public string Address { get; set; } |
| | 101 | |
|
| | 102 | | /// <summary> |
| | 103 | | /// Gets or sets HTTP verb of this operation. |
| | 104 | | /// </summary> |
| | 105 | | [JsonProperty(PropertyName = "verb")] |
| 0 | 106 | | public string Verb { get; set; } |
| | 107 | |
|
| | 108 | | } |
| | 109 | | } |