ResourceNotificationsResourceDeletedDetails Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.ResourceNotificationsResourceDeletedDetails

Implements

public final class ResourceNotificationsResourceDeletedDetails
implements JsonSerializable<ResourceNotificationsResourceDeletedDetails>

Describes the schema of the properties under resource info which are common across all ARN system topic delete events.

Method Summary

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

Reads an instance of ResourceNotificationsResourceDeletedDetails from the JsonReader.

String getId()

Get the id property: id of the resource for which the event is being emitted.

String getName()

Get the name property: name of the resource for which the event is being emitted.

String getType()

Get the type property: the type of the resource for which the event is being emitted.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static ResourceNotificationsResourceDeletedDetails fromJson(JsonReader jsonReader)

Reads an instance of ResourceNotificationsResourceDeletedDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourceNotificationsResourceDeletedDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getId

public String getId()

Get the id property: id of the resource for which the event is being emitted.

Returns:

the id value.

getName

public String getName()

Get the name property: name of the resource for which the event is being emitted.

Returns:

the name value.

getType

public String getType()

Get the type property: the type of the resource for which the event is being emitted.

Returns:

the type value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Preview