# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::SQL::Mgmt::V2015_05_01_preview
  module Models
    #
    # Properties of the table in the database full schema.
    #
    class SyncFullSchemaTable

      include MsRestAzure

      # @return [Array<SyncFullSchemaTableColumn>] List of columns in the table
      # of database full schema.
      attr_accessor :columns

      # @return [String] Error id of the table.
      attr_accessor :error_id

      # @return [Boolean] If there is error in the table.
      attr_accessor :has_error

      # @return [String] Name of the table.
      attr_accessor :name

      # @return [String] Quoted name of the table.
      attr_accessor :quoted_name


      #
      # Mapper for SyncFullSchemaTable class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SyncFullSchemaTable',
          type: {
            name: 'Composite',
            class_name: 'SyncFullSchemaTable',
            model_properties: {
              columns: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'columns',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'SyncFullSchemaTableColumnElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'SyncFullSchemaTableColumn'
                      }
                  }
                }
              },
              error_id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'errorId',
                type: {
                  name: 'String'
                }
              },
              has_error: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'hasError',
                type: {
                  name: 'Boolean'
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              quoted_name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'quotedName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
