Class: TencentCloud::Dlc::V20210125::CSVSerde
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::CSVSerde
- Defined in:
- lib/v20210125/models.rb
Overview
CSV序列化及反序列化数据结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(escape = nil, quote = nil, separator = nil) ⇒ CSVSerde
constructor
A new instance of CSVSerde.
Constructor Details
#initialize(escape = nil, quote = nil, separator = nil) ⇒ CSVSerde
1032 1033 1034 1035 1036 |
# File 'lib/v20210125/models.rb', line 1032 def initialize(escape=nil, quote=nil, separator=nil) @Escape = escape @Quote = quote @Separator = separator end |
Instance Attribute Details
#Escape ⇒ Object
1030 1031 1032 |
# File 'lib/v20210125/models.rb', line 1030 def Escape @Escape end |
#Quote ⇒ Object
1030 1031 1032 |
# File 'lib/v20210125/models.rb', line 1030 def Quote @Quote end |
#Separator ⇒ Object
1030 1031 1032 |
# File 'lib/v20210125/models.rb', line 1030 def Separator @Separator end |
Instance Method Details
#deserialize(params) ⇒ Object
1038 1039 1040 1041 1042 |
# File 'lib/v20210125/models.rb', line 1038 def deserialize(params) @Escape = params['Escape'] @Quote = params['Quote'] @Separator = params['Separator'] end |