Class: Azure::ARM::StreamAnalytics::Models::StreamInputProperties
- Inherits:
-
InputProperties
- Object
- InputProperties
- Azure::ARM::StreamAnalytics::Models::StreamInputProperties
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb
Overview
The properties that are associated with an input containing stream data.
Instance Attribute Summary collapse
-
#datasource ⇒ StreamInputDataSource
contains stream data.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from InputProperties
#diagnostics, #etag, #serialization
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StreamInputProperties class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ StreamInputProperties
constructor
A new instance of StreamInputProperties.
Constructor Details
#initialize ⇒ StreamInputProperties
Returns a new instance of StreamInputProperties.
17 18 19 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb', line 17 def initialize @type = "Stream" end |
Instance Attribute Details
#datasource ⇒ StreamInputDataSource
contains stream data. Required on PUT (CreateOrReplace) requests.
25 26 27 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb', line 25 def datasource @datasource end |
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb', line 21 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for StreamInputProperties class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 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 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb', line 32 def self.mapper() { required: false, serialized_name: 'Stream', type: { name: 'Composite', class_name: 'StreamInputProperties', 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' } }, type: { required: true, serialized_name: 'type', type: { name: 'String' } }, datasource: { required: false, serialized_name: 'datasource', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'StreamInputDataSource', class_name: 'StreamInputDataSource' } } } } } end |