Class SyncFullSchemaTable

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

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

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

    Modifier and Type
    Method
    Description
    Get the columns property: List of columns in the table of database full schema.
    Get the errorId property: Error id of the table.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of SyncFullSchemaTable from the JsonReader.
    Get the hasError property: If there is error in the table.
    Get the name property: Name of the table.
    Get the quotedName property: Quoted name of the table.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.

    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

    • SyncFullSchemaTable

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

    • columns

      public List<SyncFullSchemaTableColumn> columns()
      Get the columns property: List of columns in the table of database full schema.
      Returns:
      the columns value.
    • errorId

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

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

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

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

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