Class AppConfigurationKeyValueDeletedEventData

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

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

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of AppConfigurationKeyValueDeletedEventData from the JsonReader.
    Get the etag property: The etag representing the key-value that was deleted.
    Get the key property: The key used to identify the key-value that was deleted.
    Get the label property: The label, if any, used to identify the key-value that was deleted.
    Get the syncToken property: The sync token representing the server state after the event.
    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

    • getKey

      public String getKey()
      Get the key property: The key used to identify the key-value that was deleted.
      Returns:
      the key value.
    • getLabel

      public String getLabel()
      Get the label property: The label, if any, used to identify the key-value that was deleted.
      Returns:
      the label value.
    • getEtag

      public String getEtag()
      Get the etag property: The etag representing the key-value that was deleted.
      Returns:
      the etag value.
    • getSyncToken

      public String getSyncToken()
      Get the syncToken property: The sync token representing the server state after the event.
      Returns:
      the syncToken value.
    • toJson

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

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