Class: Azure::MachineLearning::Mgmt::V2017_01_01::Models::ServiceInputOutputSpecification
- Inherits:
-
Object
- Object
- Azure::MachineLearning::Mgmt::V2017_01_01::Models::ServiceInputOutputSpecification
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/service_input_output_specification.rb
Overview
The swagger 2.0 schema describing the service’s inputs or outputs. See Swagger specification: swagger.io/specification/
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the Swagger schema.
-
#properties ⇒ Hash{String => TableSpecification}
that contains the column schema for each input or output of the web service.
-
#title ⇒ String
The title of your Swagger schema.
-
#type ⇒ String
‘object’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceInputOutputSpecification class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns The description of the Swagger schema.
20 21 22 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/service_input_output_specification.rb', line 20 def description @description end |
#properties ⇒ Hash{String => TableSpecification}
that contains the column schema for each input or output of the web service. For more information, see the Swagger specification.
29 30 31 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/service_input_output_specification.rb', line 29 def properties @properties end |
#title ⇒ String
Returns The title of your Swagger schema.
17 18 19 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/service_input_output_specification.rb', line 17 def title @title end |
#type ⇒ String
‘object’. Default value: ‘object’ .
24 25 26 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/service_input_output_specification.rb', line 24 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceInputOutputSpecification class as Ruby Hash. This will be used for serialization/deserialization.
36 37 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 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/service_input_output_specification.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServiceInputOutputSpecification', type: { name: 'Composite', class_name: 'ServiceInputOutputSpecification', 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' } }, properties: { client_side_validation: true, required: true, serialized_name: 'properties', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'TableSpecificationElementType', type: { name: 'Composite', class_name: 'TableSpecification' } } } } } } } end |