Class DataTableResponseObject

java.lang.Object
com.azure.resourcemanager.appservice.models.DataTableResponseObject
All Implemented Interfaces:
com.azure.json.JsonSerializable<DataTableResponseObject>

public final class DataTableResponseObject extends Object implements com.azure.json.JsonSerializable<DataTableResponseObject>
Data Table which defines columns and raw row values.
  • Constructor Details

    • DataTableResponseObject

      public DataTableResponseObject()
      Creates an instance of DataTableResponseObject class.
  • Method Details

    • tableName

      public String tableName()
      Get the tableName property: Name of the table.
      Returns:
      the tableName value.
    • 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.
    • columns

      public List<DataTableResponseColumn> columns()
      Get the columns property: List of columns with data types.
      Returns:
      the columns value.
    • withColumns

      public DataTableResponseObject withColumns(List<DataTableResponseColumn> columns)
      Set the columns property: List of columns with data types.
      Parameters:
      columns - the columns value to set.
      Returns:
      the DataTableResponseObject object itself.
    • rows

      public List<List<String>> rows()
      Get the rows property: Raw row values.
      Returns:
      the rows value.
    • withRows

      public DataTableResponseObject withRows(List<List<String>> rows)
      Set the rows property: Raw row values.
      Parameters:
      rows - the rows value to set.
      Returns:
      the DataTableResponseObject object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DataTableResponseObject>
      Throws:
      IOException
    • fromJson

      public static DataTableResponseObject fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.