Class ApiManagementProductUpdatedEventData

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

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

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of ApiManagementProductUpdatedEventData from the JsonReader.
    Get the resourceUri property: The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type.
    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

    • getResourceUri

      public String getResourceUri()
      Get the resourceUri property: The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`.
      Returns:
      the resourceUri value.
    • toJson

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

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