class Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnSpecification

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

Attributes

enum[RW]

@return If the data type is categorical, this provides the list of accepted categories.

format[RW]

@return [ColumnFormat] Additional format information for the data type. Possible values include: 'Byte', 'Char', 'Complex64', 'Complex128', 'Date-time', 'Date-timeOffset', 'Double', 'Duration', 'Float', 'Int8', 'Int16', 'Int32', 'Int64', 'Uint8', 'Uint16', 'Uint32', 'Uint64'

type[RW]

@return [ColumnType] Data type of the column. Possible values include: 'Boolean', 'Integer', 'Number', 'String'

x_ms_isnullable[RW]

@return [Boolean] Flag indicating if the type supports null values or not.

x_ms_isordered[RW]

@return [Boolean] Flag indicating whether the categories are treated as an ordered set or not, if this is a categorical column.

Private Class Methods

mapper() click to toggle source

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

# 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