Share via


EntityCommonProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.securityinsights.models.EntityCommonProperties

Implements

public class EntityCommonProperties
implements JsonSerializable<EntityCommonProperties>

Entity common property bag.

Constructor Summary

Constructor Description
EntityCommonProperties()

Creates an instance of EntityCommonProperties class.

Method Summary

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

Get the additionalData property: A bag of custom fields that should be part of the entity and will be presented to the user.

String friendlyName()

Get the friendlyName property: The graph item display name which is a short humanly readable description of the graph item instance.

static EntityCommonProperties fromJson(JsonReader jsonReader)

Reads an instance of EntityCommonProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

EntityCommonProperties

public EntityCommonProperties()

Creates an instance of EntityCommonProperties class.

Method Details

additionalData

public Map<String,Object> additionalData()

Get the additionalData property: A bag of custom fields that should be part of the entity and will be presented to the user.

Returns:

the additionalData value.

friendlyName

public String friendlyName()

Get the friendlyName property: The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated.

Returns:

the friendlyName value.

fromJson

public static EntityCommonProperties fromJson(JsonReader jsonReader)

Reads an instance of EntityCommonProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to