Class: Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnSpecification
- Inherits:
-
Object
- Object
- Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnSpecification
- 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
-
#enum ⇒ Object
accepted categories.
-
#format ⇒ ColumnFormat
Possible values include: ‘Byte’, ‘Char’, ‘Complex64’, ‘Complex128’, ‘Date-time’, ‘Date-timeOffset’, ‘Double’, ‘Duration’, ‘Float’, ‘Int8’, ‘Int16’, ‘Int32’, ‘Int64’, ‘Uint8’, ‘Uint16’, ‘Uint32’, ‘Uint64’.
-
#type ⇒ ColumnType
‘Boolean’, ‘Integer’, ‘Number’, ‘String’.
-
#x_ms_isnullable ⇒ Boolean
not.
-
#x_ms_isordered ⇒ Boolean
an ordered set or not, if this is a categorical column.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ColumnSpecification class as Ruby Hash.
Instance Attribute Details
#enum ⇒ Object
accepted categories.
29 30 31 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/column_specification.rb', line 29 def enum @enum end |
#format ⇒ ColumnFormat
Possible values include: ‘Byte’, ‘Char’, ‘Complex64’, ‘Complex128’, ‘Date-time’, ‘Date-timeOffset’, ‘Double’, ‘Duration’, ‘Float’, ‘Int8’, ‘Int16’, ‘Int32’, ‘Int64’, ‘Uint8’, ‘Uint16’, ‘Uint32’, ‘Uint64’
25 26 27 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/column_specification.rb', line 25 def format @format end |
#type ⇒ ColumnType
‘Boolean’, ‘Integer’, ‘Number’, ‘String’
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_isnullable ⇒ Boolean
not.
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_isordered ⇒ Boolean
an ordered set or not, if this is a categorical column.
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
.mapper ⇒ Object
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 |