Class: Azure::MachineLearning::Mgmt::V2017_01_01::Models::TableSpecification

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

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns Swagger schema description.

Returns:

  • (String)

    Swagger schema description.



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

def description
  @description
end

#formatString

Returns The format, if ‘type’ is not ‘object’.

Returns:

  • (String)

    The format, if ‘type’ is not ‘object’



27
28
29
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/table_specification.rb', line 27

def format
  @format
end

#propertiesHash{String => ColumnSpecification}

the data table.

Returns:



31
32
33
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/table_specification.rb', line 31

def properties
  @properties
end

#titleString

Returns Swagger schema title.

Returns:

  • (String)

    Swagger schema title.



17
18
19
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/table_specification.rb', line 17

def title
  @title
end

#typeString

value: ‘object’ .

Returns:

  • (String)

    The type of the entity described in swagger. Default



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

def type
  @type
end

Class Method Details

.mapperObject

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



38
39
40
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
# 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