AlertPropertiesSupportingEvidence Class

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

Implements

public final class AlertPropertiesSupportingEvidence
implements JsonSerializable<AlertPropertiesSupportingEvidence>

Changing set of properties depending on the supportingEvidence type.

Constructor Summary

Constructor Description
AlertPropertiesSupportingEvidence()

Creates an instance of AlertPropertiesSupportingEvidence class.

Method Summary

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

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

static AlertPropertiesSupportingEvidence fromJson(JsonReader jsonReader)

Reads an instance of AlertPropertiesSupportingEvidence from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the supportingEvidence.

void validate()

Validates the instance.

AlertPropertiesSupportingEvidence withAdditionalProperties(Map<String,Object> additionalProperties)

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

Methods inherited from java.lang.Object

Constructor Details

AlertPropertiesSupportingEvidence

public AlertPropertiesSupportingEvidence()

Creates an instance of AlertPropertiesSupportingEvidence class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

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

Returns:

the additionalProperties value.

fromJson

public static AlertPropertiesSupportingEvidence fromJson(JsonReader jsonReader)

Reads an instance of AlertPropertiesSupportingEvidence from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the supportingEvidence.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

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

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the AlertPropertiesSupportingEvidence object itself.

Applies to