Class: Azure::ARM::SQL::Models::SyncFullSchemaTableColumn

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb

Overview

Properties of the column in the table of database full schema.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#data_sizeString

Returns Data size of the column.

Returns:

  • (String)

    Data size of the column.



17
18
19
# File 'lib/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 17

def data_size
  @data_size
end

#data_typeString

Returns Data type of the column.

Returns:

  • (String)

    Data type of the column.



20
21
22
# File 'lib/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 20

def data_type
  @data_type
end

#error_idString

Returns Error id of the column.

Returns:

  • (String)

    Error id of the column.



23
24
25
# File 'lib/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 23

def error_id
  @error_id
end

#has_errorBoolean

Returns If there is error in the table.

Returns:

  • (Boolean)

    If there is error in the table.



26
27
28
# File 'lib/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 26

def has_error
  @has_error
end

#is_primary_keyBoolean

Returns If it is the primary key of the table.

Returns:

  • (Boolean)

    If it is the primary key of the table.



29
30
31
# File 'lib/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 29

def is_primary_key
  @is_primary_key
end

#nameString

Returns Name of the column.

Returns:

  • (String)

    Name of the column.



32
33
34
# File 'lib/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 32

def name
  @name
end

#quoted_nameString

Returns Quoted name of the column.

Returns:

  • (String)

    Quoted name of the column.



35
36
37
# File 'lib/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 35

def quoted_name
  @quoted_name
end

Class Method Details

.mapperObject

Mapper for SyncFullSchemaTableColumn class as Ruby Hash. This will be used for serialization/deserialization.



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 42

def self.mapper()
  {
    required: false,
    serialized_name: 'SyncFullSchemaTableColumn',
    type: {
      name: 'Composite',
      class_name: 'SyncFullSchemaTableColumn',
      model_properties: {
        data_size: {
          required: false,
          read_only: true,
          serialized_name: 'dataSize',
          type: {
            name: 'String'
          }
        },
        data_type: {
          required: false,
          read_only: true,
          serialized_name: 'dataType',
          type: {
            name: 'String'
          }
        },
        error_id: {
          required: false,
          read_only: true,
          serialized_name: 'errorId',
          type: {
            name: 'String'
          }
        },
        has_error: {
          required: false,
          read_only: true,
          serialized_name: 'hasError',
          type: {
            name: 'Boolean'
          }
        },
        is_primary_key: {
          required: false,
          read_only: true,
          serialized_name: 'isPrimaryKey',
          type: {
            name: 'Boolean'
          }
        },
        name: {
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        quoted_name: {
          required: false,
          read_only: true,
          serialized_name: 'quotedName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end