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

      public ResourceNotificationsResourceDeletedDetails getResourceDetails()
      Get the resourceDetails property: resourceInfo details for delete event.
      Returns:
      the resourceDetails value.
    • getOperationalDetails

      public ResourceNotificationsOperationalDetails getOperationalDetails()
      Get the operationalDetails property: details about operational info.
      Returns:
      the operationalDetails value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.