Class: Azure::MachineLearning::Mgmt::V2017_01_01::Models::TableSpecification
- Inherits:
-
Object
- Object
- Azure::MachineLearning::Mgmt::V2017_01_01::Models::TableSpecification
- 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
-
#description ⇒ String
Swagger schema description.
-
#format ⇒ String
The format, if ‘type’ is not ‘object’.
-
#properties ⇒ Hash{String => ColumnSpecification}
the data table.
-
#title ⇒ String
Swagger schema title.
-
#type ⇒ String
value: ‘object’ .
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TableSpecification class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns 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 |
#format ⇒ String
Returns 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 |
#properties ⇒ Hash{String => ColumnSpecification}
the data table.
31 32 33 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/table_specification.rb', line 31 def properties @properties end |
#title ⇒ String
Returns 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 |
#type ⇒ String
value: ‘object’ .
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
.mapper ⇒ Object
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 |