Class EventInner

java.lang.Object
com.azure.resourcemanager.containerregistry.fluent.models.EventInfoInner
com.azure.resourcemanager.containerregistry.fluent.models.EventInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<EventInfoInner>

public final class EventInner extends EventInfoInner
The event for a webhook.
  • Method Details

    • eventRequestMessage

      public EventRequestMessage eventRequestMessage()
      Get the eventRequestMessage property: The event request message sent to the service URI.
      Returns:
      the eventRequestMessage value.
    • eventResponseMessage

      public EventResponseMessage eventResponseMessage()
      Get the eventResponseMessage property: The event response message received from the service URI.
      Returns:
      the eventResponseMessage value.
    • id

      public String id()
      Get the id property: The event ID.
      Overrides:
      id in class EventInfoInner
      Returns:
      the id value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class EventInfoInner
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

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

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