class Azure::MachineLearning::Mgmt::V2017_01_01::Models::TableSpecification

The swagger 2.0 schema describing a single service input or output. See Swagger specification: swagger.io/specification/

Attributes

description[RW]

@return [String] Swagger schema description.

format[RW]

@return [String] The format, if 'type' is not 'object'

properties[RW]

@return [Hash{String => ColumnSpecification}] The set of columns within the data table.

title[RW]

@return [String] Swagger schema title.

type[RW]

@return [String] The type of the entity described in swagger. Default value: 'object' .

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-01-01/generated/azure_mgmt_machine_learning/models/table_specification.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TableSpecification',
    type: {
      name: 'Composite',
      class_name: 'TableSpecification',
      model_properties: {
        title: {
          client_side_validation: true,
          required: false,
          serialized_name: 'title',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          default_value: 'object',
          type: {
            name: 'String'
          }
        },
        format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'format',
          type: {
            name: 'String'
          }
        },
        properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ColumnSpecificationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ColumnSpecification'
                }
            }
          }
        }
      }
    }
  }
end