Class WebSlotSwapWithPreviewStartedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.WebSlotSwapWithPreviewStartedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<WebSlotSwapWithPreviewStartedEventData>
public final class WebSlotSwapWithPreviewStartedEventData
extends Object
implements com.azure.json.JsonSerializable<WebSlotSwapWithPreviewStartedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Web.SlotSwapWithPreviewStarted event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WebSlotSwapWithPreviewStartedEventData from the JsonReader.Get the address property: HTTP request URL of this operation.Get the appEventTypeDetail property: Detail of action on the app.Get the clientRequestId property: The client request id generated by the app service for the site API operation that triggered this event.Get the correlationRequestId property: The correlation request id generated by the app service for the site API operation that triggered this event.getName()Get the name property: name of the web site that had this event.Get the requestId property: The request id generated by the app service for the site API operation that triggered this event.getVerb()Get the verb property: HTTP verb of this operation.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getAppEventTypeDetail
Get the appEventTypeDetail property: Detail of action on the app.- Returns:
- the appEventTypeDetail value.
-
getName
Get the name property: name of the web site that had this event.- Returns:
- the name value.
-
getClientRequestId
Get the clientRequestId property: The client request id generated by the app service for the site API operation that triggered this event.- Returns:
- the clientRequestId value.
-
getCorrelationRequestId
Get the correlationRequestId property: The correlation request id generated by the app service for the site API operation that triggered this event.- Returns:
- the correlationRequestId value.
-
getRequestId
Get the requestId property: The request id generated by the app service for the site API operation that triggered this event.- Returns:
- the requestId value.
-
getAddress
Get the address property: HTTP request URL of this operation.- Returns:
- the address value.
-
getVerb
Get the verb property: HTTP verb of this operation.- Returns:
- the verb value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<WebSlotSwapWithPreviewStartedEventData>- Throws:
IOException
-
fromJson
public static WebSlotSwapWithPreviewStartedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of WebSlotSwapWithPreviewStartedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of WebSlotSwapWithPreviewStartedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the WebSlotSwapWithPreviewStartedEventData.
-