Partilhar via


EventInfoInner Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.fluent.models.EventInfoInner

Implements

public class EventInfoInner
implements JsonSerializable<EventInfoInner>

The basic information of an event.

Constructor Summary

Constructor Description
EventInfoInner()

Creates an instance of EventInfoInner class.

Method Summary

Modifier and Type Method and Description
static EventInfoInner fromJson(JsonReader jsonReader)

Reads an instance of EventInfoInner from the JsonReader.

String id()

Get the id property: The event ID.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EventInfoInner withId(String id)

Set the id property: The event ID.

Methods inherited from java.lang.Object

Constructor Details

EventInfoInner

public EventInfoInner()

Creates an instance of EventInfoInner class.

Method Details

fromJson

public static EventInfoInner fromJson(JsonReader jsonReader)

Reads an instance of EventInfoInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EventInfoInner 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 EventInfoInner.

id

public String id()

Get the id property: The event ID.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public EventInfoInner withId(String id)

Set the id property: The event ID.

Parameters:

id - the id value to set.

Returns:

the EventInfoInner object itself.

Applies to