Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization
- Inherits:
-
Object
- Object
- Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/serialization.rb
Overview
Describes how data from an input is serialized or how data is serialized when written to an output.
Direct Known Subclasses
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 Serialization class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ Serialization
constructor
A new instance of Serialization.
Constructor Details
#initialize ⇒ Serialization
Returns a new instance of Serialization.
21 22 23 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/serialization.rb', line 21 def initialize @type = "Serialization" end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
25 26 27 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/serialization.rb', line 25 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for Serialization 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 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/serialization.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Serialization', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'Serialization', class_name: 'Serialization', model_properties: { } } } end |