Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionProperties

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

Overview

The properties that are associated with a function.

Direct Known Subclasses

ScalarFunctionProperties

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFunctionProperties



18
19
20
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/function_properties.rb', line 18

def initialize
  @type = "FunctionProperties"
end

Instance Attribute Details

#etagString

opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.



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

def etag
  @etag
end

#typeObject

Returns the value of attribute type.



22
23
24
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/function_properties.rb', line 22

def type
  @type
end

Class Method Details

.mapperObject

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



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/function_properties.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FunctionProperties',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'type',
      uber_parent: 'FunctionProperties',
      class_name: 'FunctionProperties',
      model_properties: {
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end