class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization
Describes how data from an input is serialized or how data is serialized when written to an output in CSV format.
Attributes
@return [Encoding] Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests. Possible values include: 'UTF8'
@return [String] Specifies the delimiter that will be used to separate comma-separated value (CSV) records. See docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a list of supported values. Required on PUT (CreateOrReplace) requests.
Private Class Methods
Mapper for CsvSerialization
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb, line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Csv', type: { name: 'Composite', class_name: 'CsvSerialization', model_properties: { type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, field_delimiter: { client_side_validation: true, required: false, serialized_name: 'properties.fieldDelimiter', type: { name: 'String' } }, encoding: { client_side_validation: true, required: false, serialized_name: 'properties.encoding', type: { name: 'String' } } } } } end
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb, line 17 def initialize @type = "Csv" end