Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource
- Inherits:
-
Object
- Object
- Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_data_source.rb
Overview
Describes an input data source that contains stream data.
Direct Known Subclasses
BlobStreamInputDataSource, EventHubStreamInputDataSource, IoTHubStreamInputDataSource
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StreamInputDataSource class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ StreamInputDataSource
constructor
A new instance of StreamInputDataSource.
Constructor Details
#initialize ⇒ StreamInputDataSource
Returns a new instance of StreamInputDataSource.
20 21 22 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_data_source.rb', line 20 def initialize @type = "StreamInputDataSource" end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
24 25 26 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_data_source.rb', line 24 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for StreamInputDataSource class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_data_source.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StreamInputDataSource', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'StreamInputDataSource', class_name: 'StreamInputDataSource', model_properties: { } } } end |