Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
Data Table which defines columns and raw row values.
/**
* Data Table which defines columns and raw row values.
*/
public class DataTableResponseObject {
Name of the table.
/**
* Name of the table.
*/
@JsonProperty(value = "tableName")
private String tableName;
List of columns with data types.
/**
* List of columns with data types.
*/
@JsonProperty(value = "columns")
private List<DataTableResponseColumn> columns;
Raw row values.
/**
* Raw row values.
*/
@JsonProperty(value = "rows")
private List<List<String>> rows;
Get name of the table.
Returns: the tableName value
/**
* Get name of the table.
*
* @return the tableName value
*/
public String tableName() {
return this.tableName;
}
Set name of the table.
Params: - tableName – the tableName value to set
Returns: the DataTableResponseObject object itself.
/**
* Set name of the table.
*
* @param tableName the tableName value to set
* @return the DataTableResponseObject object itself.
*/
public DataTableResponseObject withTableName(String tableName) {
this.tableName = tableName;
return this;
}
Get list of columns with data types.
Returns: the columns value
/**
* Get list of columns with data types.
*
* @return the columns value
*/
public List<DataTableResponseColumn> columns() {
return this.columns;
}
Set list of columns with data types.
Params: - columns – the columns value to set
Returns: the DataTableResponseObject object itself.
/**
* Set list of columns with data types.
*
* @param columns the columns value to set
* @return the DataTableResponseObject object itself.
*/
public DataTableResponseObject withColumns(List<DataTableResponseColumn> columns) {
this.columns = columns;
return this;
}
Get raw row values.
Returns: the rows value
/**
* Get raw row values.
*
* @return the rows value
*/
public List<List<String>> rows() {
return this.rows;
}
Set raw row values.
Params: - rows – the rows value to set
Returns: the DataTableResponseObject object itself.
/**
* Set raw row values.
*
* @param rows the rows value to set
* @return the DataTableResponseObject object itself.
*/
public DataTableResponseObject withRows(List<List<String>> rows) {
this.rows = rows;
return this;
}
}