Class: Azure::ARM::StreamAnalytics::Models::FunctionProperties

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/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

Returns a new instance of FunctionProperties.



19
20
21
# File 'lib/generated/azure_mgmt_stream_analytics/models/function_properties.rb', line 19

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.

Returns:

  • (String)

    The current entity tag for the function. This is an



29
30
31
# File 'lib/generated/azure_mgmt_stream_analytics/models/function_properties.rb', line 29

def etag
  @etag
end

#typeObject

Returns the value of attribute type.



23
24
25
# File 'lib/generated/azure_mgmt_stream_analytics/models/function_properties.rb', line 23

def type
  @type
end

Class Method Details

.mapperObject

Mapper for FunctionProperties 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
# File 'lib/generated/azure_mgmt_stream_analytics/models/function_properties.rb', line 36

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