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 Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RedisPatchingCompletedEventData from the JsonReader.getName()Get the name property: The name of this event.Get the status property: The status of this event.Get the timestamp property: The time at which the event occurred.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
-
getTimestamp
Get the timestamp property: The time at which the event occurred.- Returns:
- the timestamp value.
-
getName
Get the name property: The name of this event.- Returns:
- the name value.
-
getStatus
Get the status property: The status of this event. Failed or succeeded.- Returns:
- the status value.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-