AlertEntity Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.AlertEntity

Implements

public final class AlertEntity
implements JsonSerializable<AlertEntity>

Changing set of properties depending on the entity type.

Constructor Summary

Constructor Description
AlertEntity()

Creates an instance of AlertEntity class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: Changing set of properties depending on the entity type.

static AlertEntity fromJson(JsonReader jsonReader)

Reads an instance of AlertEntity from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of entity.

void validate()

Validates the instance.

AlertEntity withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Changing set of properties depending on the entity type.

Methods inherited from java.lang.Object

Constructor Details

AlertEntity

public AlertEntity()

Creates an instance of AlertEntity class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: Changing set of properties depending on the entity type.

Returns:

the additionalProperties value.

fromJson

public static AlertEntity fromJson(JsonReader jsonReader)

Reads an instance of AlertEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of entity.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public AlertEntity withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Changing set of properties depending on the entity type.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the AlertEntity object itself.

Applies to