AlertSimulatorBundlesRequestProperties Class

public final class AlertSimulatorBundlesRequestProperties
extends AlertSimulatorRequestProperties

Simulate alerts according to this bundles.

Constructor Summary

Constructor Description
AlertSimulatorBundlesRequestProperties()

Creates an instance of AlertSimulatorBundlesRequestProperties class.

Method Summary

Modifier and Type Method and Description
List<BundleType> bundles()

Get the bundles property: Bundles list.

static AlertSimulatorBundlesRequestProperties fromJson(JsonReader jsonReader)

Reads an instance of AlertSimulatorBundlesRequestProperties from the JsonReader.

Kind kind()

Get the kind property: The kind of alert simulation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AlertSimulatorBundlesRequestProperties withBundles(List<BundleType> bundles)

Set the bundles property: Bundles list.

Methods inherited from AlertSimulatorRequestProperties

Methods inherited from java.lang.Object

Constructor Details

AlertSimulatorBundlesRequestProperties

public AlertSimulatorBundlesRequestProperties()

Creates an instance of AlertSimulatorBundlesRequestProperties class.

Method Details

bundles

public List<BundleType> bundles()

Get the bundles property: Bundles list.

Returns:

the bundles value.

fromJson

public static AlertSimulatorBundlesRequestProperties fromJson(JsonReader jsonReader)

Reads an instance of AlertSimulatorBundlesRequestProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

kind

public Kind kind()

Get the kind property: The kind of alert simulation.

Overrides:

AlertSimulatorBundlesRequestProperties.kind()

Returns:

the kind value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AlertSimulatorBundlesRequestProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

AlertSimulatorBundlesRequestProperties.validate()

withBundles

public AlertSimulatorBundlesRequestProperties withBundles(List<BundleType> bundles)

Set the bundles property: Bundles list.

Parameters:

bundles - the bundles value to set.

Returns:

the AlertSimulatorBundlesRequestProperties object itself.

Applies to