class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization
Describes how data from an input is serialized or how data is serialized when written to an output in Avro format.
Attributes
properties[RW]
@return The properties that are associated with the Avro serialization type. Required on PUT (CreateOrReplace) requests.
type[RW]
Private Class Methods
mapper()
click to toggle source
Mapper for AvroSerialization
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/avro_serialization.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Avro', type: { name: 'Composite', class_name: 'AvroSerialization', model_properties: { type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Object' } } } } } end
new()
click to toggle source
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/avro_serialization.rb, line 17 def initialize @type = "Avro" end