Class RedisPatchingCompletedEventData

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

public final class RedisPatchingCompletedEventData extends Object implements com.azure.json.JsonSerializable<RedisPatchingCompletedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Cache.PatchingCompleted event.
  • Method Details

    • getTimestamp

      public OffsetDateTime getTimestamp()
      Get the timestamp property: The time at which the event occurred.
      Returns:
      the timestamp value.
    • getName

      public String getName()
      Get the name property: The name of this event.
      Returns:
      the name value.
    • getStatus

      public String getStatus()
      Get the status property: The status of this event. Failed or succeeded.
      Returns:
      the status value.
    • toJson

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

      public static RedisPatchingCompletedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RedisPatchingCompletedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RedisPatchingCompletedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the RedisPatchingCompletedEventData.