Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties

Inherits:
FunctionProperties
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb

Overview

The properties that are associated with a scalar function.

Instance Attribute Summary collapse

Attributes inherited from FunctionProperties

#etag

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeScalarFunctionProperties

Returns a new instance of ScalarFunctionProperties.



16
17
18
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb', line 16

def initialize
  @type = "Scalar"
end

Instance Attribute Details

#bindingFunctionBinding

example, in the Azure Machine Learning web service’s case, this describes the endpoint.

Returns:



32
33
34
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb', line 32

def binding
  @binding
end

#inputsArray<FunctionInput>

parameters of the function.

Returns:



24
25
26
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb', line 24

def inputs
  @inputs
end

#outputFunctionOutput

Returns The output of the function.

Returns:



27
28
29
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb', line 27

def output
  @output
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb', line 20

def type
  @type
end

Class Method Details

.mapperObject

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



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
101
102
103
104
105
# 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