Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization
- Inherits:
-
Serialization
- Object
- Serialization
- Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb
Overview
Describes how data from an input is serialized or how data is serialized when written to an output in CSV format.
Instance Attribute Summary collapse
-
#encoding ⇒ Encoding
case of input and the encoding of outgoing data in the case of output.
-
#field_delimiter ⇒ String
comma-separated value (CSV) records.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CsvSerialization class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ CsvSerialization
constructor
A new instance of CsvSerialization.
Constructor Details
#initialize ⇒ CsvSerialization
Returns a new instance of CsvSerialization.
17 18 19 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb', line 17 def initialize @type = "Csv" end |
Instance Attribute Details
#encoding ⇒ Encoding
case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests. Possible values include: ‘UTF8’
36 37 38 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb', line 36 def encoding @encoding end |
#field_delimiter ⇒ String
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.
30 31 32 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb', line 30 def field_delimiter @field_delimiter end |
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb', line 21 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for CsvSerialization class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# 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 |