TestRunInsights Class

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

Implements

public final class TestRunInsights
implements JsonSerializable<TestRunInsights>

Represents insights for the test run.

Constructor Summary

Constructor Description
TestRunInsights()

Creates an instance of TestRunInsights class.

Method Summary

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

Reads an instance of TestRunInsights from the JsonReader.

List<TestRunInsightColumn> getColumns()

Get the columns property: The columns of the insights.

Map<String,Map<String,String>> getRows()

Get the rows property: The rows of the insights.

OperationState getStatus()

Get the status property: The status of the insights.

Long getVersion()

Get the version property: The version of the insights.

TestRunInsights setRows(Map<String,Map<String,String>> rows)

Set the rows property: The rows of the insights.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

TestRunInsights

public TestRunInsights()

Creates an instance of TestRunInsights class.

Method Details

fromJson

public static TestRunInsights fromJson(JsonReader jsonReader)

Reads an instance of TestRunInsights from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getColumns

public List<TestRunInsightColumn> getColumns()

Get the columns property: The columns of the insights.

Returns:

the columns value.

getRows

public Map<String,Map<String,String>> getRows()

Get the rows property: The rows of the insights.

Returns:

the rows value.

getStatus

public OperationState getStatus()

Get the status property: The status of the insights.

Returns:

the status value.

getVersion

public Long getVersion()

Get the version property: The version of the insights.

Returns:

the version value.

setRows

public TestRunInsights setRows(Map<String,Map<String,String>> rows)

Set the rows property: The rows of the insights.

Parameters:

rows - the rows value to set.

Returns:

the TestRunInsights object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to