Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties
- Inherits:
-
InputProperties
- Object
- InputProperties
- Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-01/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.
16 17 18 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb', line 16 def initialize @type = "Stream" end |
Instance Attribute Details
#datasource ⇒ StreamInputDataSource
contains stream data. Required on PUT (CreateOrReplace) requests.
24 25 26 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb', line 24 def datasource @datasource end |
#type ⇒ Object
Returns the value of attribute type.
20 21 22 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb', line 20 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for StreamInputProperties 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 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 88 89 90 91 92 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Stream', type: { name: 'Composite', class_name: 'StreamInputProperties', model_properties: { serialization: { client_side_validation: true, required: false, serialized_name: 'serialization', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'Serialization', class_name: 'Serialization' } }, diagnostics: { client_side_validation: true, required: false, read_only: true, serialized_name: 'diagnostics', type: { name: 'Composite', class_name: 'Diagnostics' } }, etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', type: { name: 'String' } }, type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, datasource: { client_side_validation: true, required: false, serialized_name: 'datasource', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'StreamInputDataSource', class_name: 'StreamInputDataSource' } } } } } end |