Class: Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaTableColumn

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-05-01-preview/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.



16
17
18
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 16

def data_size
  @data_size
end

#data_typeString

Returns Data type of the column.

Returns:

  • (String)

    Data type of the column.



19
20
21
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 19

def data_type
  @data_type
end

#error_idString

Returns Error id of the column.

Returns:

  • (String)

    Error id of the column.



22
23
24
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 22

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.



25
26
27
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 25

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.



28
29
30
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 28

def is_primary_key
  @is_primary_key
end

#nameString

Returns Name of the column.

Returns:

  • (String)

    Name of the column.



31
32
33
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 31

def name
  @name
end

#quoted_nameString

Returns Quoted name of the column.

Returns:

  • (String)

    Quoted name of the column.



34
35
36
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 34

def quoted_name
  @quoted_name
end

Class Method Details

.mapperObject

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



41
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
110
111
112
113
114
115
116
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SyncFullSchemaTableColumn',
    type: {
      name: 'Composite',
      class_name: 'SyncFullSchemaTableColumn',
      model_properties: {
        data_size: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'dataSize',
          type: {
            name: 'String'
          }
        },
        data_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'dataType',
          type: {
            name: 'String'
          }
        },
        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'
          }
        },
        is_primary_key: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'isPrimaryKey',
          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