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>
The event for a webhook.
-
Method Summary
Modifier and TypeMethodDescriptionGet the eventRequestMessage property: The event request message sent to the service URI.Get the eventResponseMessage property: The event response message received from the service URI.static EventInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of EventInner from the JsonReader.id()Get the id property: The event ID.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
eventRequestMessage
Get the eventRequestMessage property: The event request message sent to the service URI.- Returns:
- the eventRequestMessage value.
-
eventResponseMessage
Get the eventResponseMessage property: The event response message received from the service URI.- Returns:
- the eventResponseMessage value.
-
id
Get the id property: The event ID.- Overrides:
idin classEventInfoInner- Returns:
- the id value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classEventInfoInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<EventInfoInner>- Overrides:
toJsonin classEventInfoInner- Throws:
IOException
-
fromJson
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.
-