class Azure::MachineLearning::Mgmt::V2017_01_01::Models::ServiceInputOutputSpecification

The swagger 2.0 schema describing the service's inputs or outputs. See Swagger specification: swagger.io/specification/

Attributes

description[RW]

@return [String] The description of the Swagger schema.

properties[RW]

@return [Hash{String => TableSpecification}] Specifies a collection that contains the column schema for each input or output of the web service. For more information, see the Swagger specification.

title[RW]

@return [String] The title of your Swagger schema.

type[RW]

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

Private Class Methods

mapper() click to toggle source

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

# 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