Class: Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnSpecification

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-01/generated/azure_mgmt_machine_learning/models/column_specification.rb

Overview

Swagger 2.0 schema for a column within the data table representing a web service input or output. See Swagger specification: swagger.io/specification/

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enumObject

accepted categories.

Returns:

  • If the data type is categorical, this provides the list of



29
30
31
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/column_specification.rb', line 29

def enum
  @enum
end

#formatColumnFormat

Possible values include: ‘Byte’, ‘Char’, ‘Complex64’, ‘Complex128’, ‘Date-time’, ‘Date-timeOffset’, ‘Double’, ‘Duration’, ‘Float’, ‘Int8’, ‘Int16’, ‘Int32’, ‘Int64’, ‘Uint8’, ‘Uint16’, ‘Uint32’, ‘Uint64’

Returns:

  • (ColumnFormat)

    Additional format information for the data type.



25
26
27
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/column_specification.rb', line 25

def format
  @format
end

#typeColumnType

‘Boolean’, ‘Integer’, ‘Number’, ‘String’

Returns:

  • (ColumnType)

    Data type of the column. Possible values include:



19
20
21
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/column_specification.rb', line 19

def type
  @type
end

#x_ms_isnullableBoolean

not.

Returns:

  • (Boolean)

    Flag indicating if the type supports null values or



33
34
35
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/column_specification.rb', line 33

def x_ms_isnullable
  @x_ms_isnullable
end

#x_ms_isorderedBoolean

an ordered set or not, if this is a categorical column.

Returns:

  • (Boolean)

    Flag indicating whether the categories are treated as



37
38
39
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/column_specification.rb', line 37

def x_ms_isordered
  @x_ms_isordered
end

Class Method Details

.mapperObject

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



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
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/column_specification.rb', line 44

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ColumnSpecification',
    type: {
      name: 'Composite',
      class_name: 'ColumnSpecification',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'format',
          type: {
            name: 'String'
          }
        },
        enum: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enum',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        x_ms_isnullable: {
          client_side_validation: true,
          required: false,
          serialized_name: 'x-ms-isnullable',
          type: {
            name: 'Boolean'
          }
        },
        x_ms_isordered: {
          client_side_validation: true,
          required: false,
          serialized_name: 'x-ms-isordered',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end