Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties
- Inherits:
-
InputProperties
- Object
- InputProperties
- Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/reference_input_properties.rb
Overview
The properties that are associated with an input containing reference data.
Instance Attribute Summary collapse
-
#datasource ⇒ ReferenceInputDataSource
contains reference data.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from InputProperties
#diagnostics, #etag, #serialization
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ReferenceInputProperties class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ReferenceInputProperties
constructor
A new instance of ReferenceInputProperties.
Constructor Details
#initialize ⇒ ReferenceInputProperties
Returns a new instance of ReferenceInputProperties.
17 18 19 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/reference_input_properties.rb', line 17 def initialize @type = "Reference" end |
Instance Attribute Details
#datasource ⇒ ReferenceInputDataSource
contains reference data. Required on PUT (CreateOrReplace) requests.
25 26 27 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/reference_input_properties.rb', line 25 def datasource @datasource end |
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/reference_input_properties.rb', line 21 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for ReferenceInputProperties 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 88 89 90 91 92 93 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/reference_input_properties.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Reference', type: { name: 'Composite', class_name: 'ReferenceInputProperties', 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: 'ReferenceInputDataSource', class_name: 'ReferenceInputDataSource' } } } } } end |