AlertSimulatorRequestBody Class

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

Implements

public final class AlertSimulatorRequestBody
implements JsonSerializable<AlertSimulatorRequestBody>

Alert Simulator request body.

Constructor Summary

Constructor Description
AlertSimulatorRequestBody()

Creates an instance of AlertSimulatorRequestBody class.

Method Summary

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

Reads an instance of AlertSimulatorRequestBody from the JsonReader.

AlertSimulatorRequestProperties properties()

Get the properties property: Alert Simulator request body data.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AlertSimulatorRequestBody withProperties(AlertSimulatorRequestProperties properties)

Set the properties property: Alert Simulator request body data.

Methods inherited from java.lang.Object

Constructor Details

AlertSimulatorRequestBody

public AlertSimulatorRequestBody()

Creates an instance of AlertSimulatorRequestBody class.

Method Details

fromJson

public static AlertSimulatorRequestBody fromJson(JsonReader jsonReader)

Reads an instance of AlertSimulatorRequestBody from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

properties

public AlertSimulatorRequestProperties properties()

Get the properties property: Alert Simulator request body data.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withProperties

public AlertSimulatorRequestBody withProperties(AlertSimulatorRequestProperties properties)

Set the properties property: Alert Simulator request body data.

Parameters:

properties - the properties value to set.

Returns:

the AlertSimulatorRequestBody object itself.

Applies to