Class DataTableResponseColumn
java.lang.Object
com.azure.resourcemanager.appservice.models.DataTableResponseColumn
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DataTableResponseColumn>
public final class DataTableResponseColumn
extends Object
implements com.azure.json.JsonSerializable<DataTableResponseColumn>
Column definition.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DataTableResponseColumn class. -
Method Summary
Modifier and TypeMethodDescriptionGet the columnName property: Name of the column.Get the columnType property: Column Type.dataType()
Get the dataType property: Data type which looks like 'String' or 'Int32'.static DataTableResponseColumn
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DataTableResponseColumn from the JsonReader.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withColumnName
(String columnName) Set the columnName property: Name of the column.withColumnType
(String columnType) Set the columnType property: Column Type.withDataType
(String dataType) Set the dataType property: Data type which looks like 'String' or 'Int32'.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DataTableResponseColumn
public DataTableResponseColumn()Creates an instance of DataTableResponseColumn class.
-
-
Method Details
-
columnName
Get the columnName property: Name of the column.- Returns:
- the columnName value.
-
withColumnName
Set the columnName property: Name of the column.- Parameters:
columnName
- the columnName value to set.- Returns:
- the DataTableResponseColumn object itself.
-
dataType
Get the dataType property: Data type which looks like 'String' or 'Int32'.- Returns:
- the dataType value.
-
withDataType
Set the dataType property: Data type which looks like 'String' or 'Int32'.- Parameters:
dataType
- the dataType value to set.- Returns:
- the DataTableResponseColumn object itself.
-
columnType
Get the columnType property: Column Type.- Returns:
- the columnType value.
-
withColumnType
Set the columnType property: Column Type.- Parameters:
columnType
- the columnType value to set.- Returns:
- the DataTableResponseColumn object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<DataTableResponseColumn>
- Throws:
IOException
-
fromJson
public static DataTableResponseColumn fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DataTableResponseColumn from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DataTableResponseColumn 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 DataTableResponseColumn.
-