TestRunEndedEventCondition Class

  • java.lang.Object
    • com.azure.developer.loadtesting.models.TestRunEndedEventCondition

Implements

public final class TestRunEndedEventCondition
implements JsonSerializable<TestRunEndedEventCondition>

TestRunEnded Event condition.

Constructor Summary

Constructor Description
TestRunEndedEventCondition()

Creates an instance of TestRunEndedEventCondition class.

Method Summary

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

Reads an instance of TestRunEndedEventCondition from the JsonReader.

List<PassFailTestResult> getTestRunResults()

Get the testRunResults property: The test run results to send notification for.

List<TestRunStatus> getTestRunStatuses()

Get the testRunStatuses property: The test run statuses to send notification for.

TestRunEndedEventCondition setTestRunResults(List<PassFailTestResult> testRunResults)

Set the testRunResults property: The test run results to send notification for.

TestRunEndedEventCondition setTestRunStatuses(List<TestRunStatus> testRunStatuses)

Set the testRunStatuses property: The test run statuses to send notification for.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

TestRunEndedEventCondition

public TestRunEndedEventCondition()

Creates an instance of TestRunEndedEventCondition class.

Method Details

fromJson

public static TestRunEndedEventCondition fromJson(JsonReader jsonReader)

Reads an instance of TestRunEndedEventCondition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getTestRunResults

public List<PassFailTestResult> getTestRunResults()

Get the testRunResults property: The test run results to send notification for.

Returns:

the testRunResults value.

getTestRunStatuses

public List<TestRunStatus> getTestRunStatuses()

Get the testRunStatuses property: The test run statuses to send notification for.

Returns:

the testRunStatuses value.

setTestRunResults

public TestRunEndedEventCondition setTestRunResults(List<PassFailTestResult> testRunResults)

Set the testRunResults property: The test run results to send notification for.

Parameters:

testRunResults - the testRunResults value to set.

Returns:

the TestRunEndedEventCondition object itself.

setTestRunStatuses

public TestRunEndedEventCondition setTestRunStatuses(List<TestRunStatus> testRunStatuses)

Set the testRunStatuses property: The test run statuses to send notification for.

Parameters:

testRunStatuses - the testRunStatuses value to set.

Returns:

the TestRunEndedEventCondition object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to