EventInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. EventInfoInner - com.
azure. resourcemanager. containerregistry. fluent. models. EventInner
- com.
- com.
public final class EventInner
extends EventInfoInner
The event for a webhook.
Constructor Summary
Constructor | Description |
---|---|
EventInner() |
Creates an instance of Event |
Method Summary
Modifier and Type | Method and Description |
---|---|
Event |
eventRequestMessage()
Get the event |
Event |
eventResponseMessage()
Get the event |
static
Event |
fromJson(JsonReader jsonReader)
Reads an instance of Event |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Event |
withEventRequestMessage(EventRequestMessage eventRequestMessage)
Set the event |
Event |
withEventResponseMessage(EventResponseMessage eventResponseMessage)
Set the event |
Event |
withId(String id)
Set the id property: The event ID. |
Methods inherited from EventInfoInner
Methods inherited from java.lang.Object
Constructor Details
EventInner
public EventInner()
Creates an instance of EventInner class.
Method Details
eventRequestMessage
public EventRequestMessage eventRequestMessage()
Get the eventRequestMessage property: The event request message sent to the service URI.
Returns:
eventResponseMessage
public EventResponseMessage eventResponseMessage()
Get the eventResponseMessage property: The event response message received from the service URI.
Returns:
fromJson
public static EventInner fromJson(JsonReader jsonReader)
Reads an instance of EventInner from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
EventInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
EventInner.validate()withEventRequestMessage
public EventInner withEventRequestMessage(EventRequestMessage eventRequestMessage)
Set the eventRequestMessage property: The event request message sent to the service URI.
Parameters:
Returns:
withEventResponseMessage
public EventInner withEventResponseMessage(EventResponseMessage eventResponseMessage)
Set the eventResponseMessage property: The event response message received from the service URI.
Parameters:
Returns:
withId
public EventInner withId(String id)
Set the id property: The event ID.
Overrides:
EventInner.withId(String id)Parameters:
Applies to
Azure SDK for Java