Class ResourceNotificationsResourceDeletedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ResourceNotificationsResourceDeletedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourceNotificationsResourceDeletedEventData>
- Direct Known Subclasses:
ResourceNotificationsResourceManagementDeletedEventData
public class ResourceNotificationsResourceDeletedEventData
extends Object
implements com.azure.json.JsonSerializable<ResourceNotificationsResourceDeletedEventData>
Describes the schema of the common properties across all ARN system topic
delete events.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedResourceNotificationsResourceDeletedEventData(ResourceNotificationsResourceDeletedDetails resourceDetails, ResourceNotificationsOperationalDetails operationalDetails) Creates an instance of ResourceNotificationsResourceDeletedEventData class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResourceNotificationsResourceDeletedEventData from the JsonReader.Get the operationalDetails property: details about operational info.Get the resourceDetails property: resourceInfo details for delete event.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
-
Constructor Details
-
ResourceNotificationsResourceDeletedEventData
protected ResourceNotificationsResourceDeletedEventData(ResourceNotificationsResourceDeletedDetails resourceDetails, ResourceNotificationsOperationalDetails operationalDetails) Creates an instance of ResourceNotificationsResourceDeletedEventData class.- Parameters:
resourceDetails- the resourceDetails value to set.operationalDetails- the operationalDetails value to set.
-
-
Method Details
-
getResourceDetails
Get the resourceDetails property: resourceInfo details for delete event.- Returns:
- the resourceDetails value.
-
getOperationalDetails
Get the operationalDetails property: details about operational info.- Returns:
- the operationalDetails value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResourceNotificationsResourceDeletedEventData>- Throws:
IOException
-
fromJson
public static ResourceNotificationsResourceDeletedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ResourceNotificationsResourceDeletedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ResourceNotificationsResourceDeletedEventData 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 ResourceNotificationsResourceDeletedEventData.
-