Class WebSlotSwapFailedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.WebSlotSwapFailedEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<WebSlotSwapFailedEventData>

public final class WebSlotSwapFailedEventData extends Object implements com.azure.json.JsonSerializable<WebSlotSwapFailedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Web.SlotSwapFailed event.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of WebSlotSwapFailedEventData 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.
    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.
    Get the verb property: HTTP verb of this operation.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • getAppEventTypeDetail

      public AppEventTypeDetail getAppEventTypeDetail()
      Get the appEventTypeDetail property: Detail of action on the app.
      Returns:
      the appEventTypeDetail value.
    • getName

      public String getName()
      Get the name property: name of the web site that had this event.
      Returns:
      the name value.
    • getClientRequestId

      public String 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

      public String 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

      public String 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

      public String getAddress()
      Get the address property: HTTP request URL of this operation.
      Returns:
      the address value.
    • getVerb

      public String getVerb()
      Get the verb property: HTTP verb of this operation.
      Returns:
      the verb value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<WebSlotSwapFailedEventData>
      Throws:
      IOException
    • fromJson

      public static WebSlotSwapFailedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of WebSlotSwapFailedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of WebSlotSwapFailedEventData 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 WebSlotSwapFailedEventData.