Class SyncFullSchemaTableColumn

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

public final class SyncFullSchemaTableColumn extends Object implements com.azure.json.JsonSerializable<SyncFullSchemaTableColumn>
Properties of the column in the table of database full schema.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of SyncFullSchemaTableColumn class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the dataSize property: Data size of the column.
    Get the dataType property: Data type of the column.
    Get the errorId property: Error id of the column.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of SyncFullSchemaTableColumn from the JsonReader.
    Get the hasError property: If there is error in the table.
    Get the isPrimaryKey property: If it is the primary key of the table.
    Get the name property: Name of the column.
    Get the quotedName property: Quoted name of the column.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.

    Methods inherited from class 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

    • SyncFullSchemaTableColumn

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

    • dataSize

      public String dataSize()
      Get the dataSize property: Data size of the column.
      Returns:
      the dataSize value.
    • dataType

      public String dataType()
      Get the dataType property: Data type of the column.
      Returns:
      the dataType value.
    • errorId

      public String errorId()
      Get the errorId property: Error id of the column.
      Returns:
      the errorId value.
    • hasError

      public Boolean hasError()
      Get the hasError property: If there is error in the table.
      Returns:
      the hasError value.
    • isPrimaryKey

      public Boolean isPrimaryKey()
      Get the isPrimaryKey property: If it is the primary key of the table.
      Returns:
      the isPrimaryKey value.
    • name

      public String name()
      Get the name property: Name of the column.
      Returns:
      the name value.
    • quotedName

      public String quotedName()
      Get the quotedName property: Quoted name of the column.
      Returns:
      the quotedName value.
    • 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<SyncFullSchemaTableColumn>
      Throws:
      IOException
    • fromJson

      public static SyncFullSchemaTableColumn fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SyncFullSchemaTableColumn from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SyncFullSchemaTableColumn 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 SyncFullSchemaTableColumn.