class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties

The properties that are associated with a scalar function.

Attributes

binding[RW]

@return [FunctionBinding] The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint.

inputs[RW]

@return [Array<FunctionInput>] A list of inputs describing the parameters of the function.

output[RW]

@return [FunctionOutput] The output of the function.

type[RW]

Private Class Methods

mapper() click to toggle source

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

# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Scalar',
    type: {
      name: 'Composite',
      class_name: 'ScalarFunctionProperties',
      model_properties: {
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        inputs: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.inputs',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'FunctionInputElementType',
                type: {
                  name: 'Composite',
                  class_name: 'FunctionInput'
                }
            }
          }
        },
        output: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.output',
          type: {
            name: 'Composite',
            class_name: 'FunctionOutput'
          }
        },
        binding: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.binding',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'FunctionBinding',
            class_name: 'FunctionBinding'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb, line 16
def initialize
  @type = "Scalar"
end