DataTableResponseObject Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.DataTableResponseObject

Implements

public final class DataTableResponseObject
implements JsonSerializable<DataTableResponseObject>

Data Table which defines columns and raw row values.

Constructor Summary

Constructor Description
DataTableResponseObject()

Creates an instance of DataTableResponseObject class.

Method Summary

Modifier and Type Method and Description
List<DataTableResponseColumn> columns()

Get the columns property: List of columns with data types.

static DataTableResponseObject fromJson(JsonReader jsonReader)

Reads an instance of DataTableResponseObject from the JsonReader.

List<List<String>> rows()

Get the rows property: Raw row values.

String tableName()

Get the tableName property: Name of the table.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataTableResponseObject withColumns(List<DataTableResponseColumn> columns)

Set the columns property: List of columns with data types.

DataTableResponseObject withRows(List<List<String>> rows)

Set the rows property: Raw row values.

DataTableResponseObject withTableName(String tableName)

Set the tableName property: Name of the table.

Methods inherited from java.lang.Object

Constructor Details

DataTableResponseObject

public DataTableResponseObject()

Creates an instance of DataTableResponseObject class.

Method Details

columns

public List columns()

Get the columns property: List of columns with data types.

Returns:

the columns value.

fromJson

public static DataTableResponseObject fromJson(JsonReader jsonReader)

Reads an instance of DataTableResponseObject from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

rows

public List> rows()

Get the rows property: Raw row values.

Returns:

the rows value.

tableName

public String tableName()

Get the tableName property: Name of the table.

Returns:

the tableName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withColumns

public DataTableResponseObject withColumns(List columns)

Set the columns property: List of columns with data types.

Parameters:

columns - the columns value to set.

Returns:

the DataTableResponseObject object itself.

withRows

public DataTableResponseObject withRows(List> rows)

Set the rows property: Raw row values.

Parameters:

rows - the rows value to set.

Returns:

the DataTableResponseObject object itself.

withTableName

public DataTableResponseObject withTableName(String tableName)

Set the tableName property: Name of the table.

Parameters:

tableName - the tableName value to set.

Returns:

the DataTableResponseObject object itself.

Applies to