Class: Azure::ARM::StreamAnalytics::Models::InputProperties

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_stream_analytics/models/input_properties.rb

Overview

The properties that are associated with an input.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInputProperties

Returns a new instance of InputProperties.



20
21
22
# File 'lib/generated/azure_mgmt_stream_analytics/models/input_properties.rb', line 20

def initialize
  @type = "InputProperties"
end

Instance Attribute Details

#diagnosticsDiagnostics

Output, or the job overall, that warrant customer attention.

Returns:

  • (Diagnostics)

    Describes conditions applicable to the Input,



33
34
35
# File 'lib/generated/azure_mgmt_stream_analytics/models/input_properties.rb', line 33

def diagnostics
  @diagnostics
end

#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 input. This is an



39
40
41
# File 'lib/generated/azure_mgmt_stream_analytics/models/input_properties.rb', line 39

def etag
  @etag
end

#serializationSerialization

or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests.

Returns:

  • (Serialization)

    Describes how data from an input is serialized



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

def serialization
  @serialization
end

#typeObject

Returns the value of attribute type.



24
25
26
# File 'lib/generated/azure_mgmt_stream_analytics/models/input_properties.rb', line 24

def type
  @type
end

Class Method Details

.mapperObject

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



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
# File 'lib/generated/azure_mgmt_stream_analytics/models/input_properties.rb', line 46

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