Class: Azure::ARM::StreamAnalytics::Models::CsvSerialization
- Inherits:
-
Serialization
- Object
- Serialization
- Azure::ARM::StreamAnalytics::Models::CsvSerialization
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/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.
18 19 20 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb', line 18 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’
37 38 39 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb', line 37 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.
31 32 33 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb', line 31 def field_delimiter @field_delimiter end |
#type ⇒ Object
Returns the value of attribute type.
22 23 24 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb', line 22 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for CsvSerialization class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb', line 44 def self.mapper() { required: false, serialized_name: 'Csv', type: { name: 'Composite', class_name: 'CsvSerialization', model_properties: { type: { required: true, serialized_name: 'type', type: { name: 'String' } }, field_delimiter: { required: false, serialized_name: 'properties.fieldDelimiter', type: { name: 'String' } }, encoding: { required: false, serialized_name: 'properties.encoding', type: { name: 'String' } } } } } end |