Class: TencentCloud::Cls::V20201016::CsvInfo

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201016/models.rb

Overview

csv内容描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(printkey = nil, keys = nil, delimiter = nil, escapechar = nil, nonexistingfield = nil) ⇒ CsvInfo

Returns a new instance of CsvInfo.



4968
4969
4970
4971
4972
4973
4974
# File 'lib/v20201016/models.rb', line 4968

def initialize(printkey=nil, keys=nil, delimiter=nil, escapechar=nil, nonexistingfield=nil)
  @PrintKey = printkey
  @Keys = keys
  @Delimiter = delimiter
  @EscapeChar = escapechar
  @NonExistingField = nonexistingfield
end

Instance Attribute Details

#Delimiter ⇒ Object

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PrintKey: —

    csv首行是否打印key

  • Keys: —

    每列key的名字

  • Delimiter: —

    各字段间的分隔符

  • EscapeChar: —

    若字段内容中包含分隔符,则使用该转义符包裹改字段,只能填写单引号、双引号、空字符串

  • NonExistingField: —

    对于上面指定的不存在字段使用该内容填充



4966
4967
4968
# File 'lib/v20201016/models.rb', line 4966

def Delimiter
  @Delimiter
end

#EscapeChar ⇒ Object

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PrintKey: —

    csv首行是否打印key

  • Keys: —

    每列key的名字

  • Delimiter: —

    各字段间的分隔符

  • EscapeChar: —

    若字段内容中包含分隔符,则使用该转义符包裹改字段,只能填写单引号、双引号、空字符串

  • NonExistingField: —

    对于上面指定的不存在字段使用该内容填充



4966
4967
4968
# File 'lib/v20201016/models.rb', line 4966

def EscapeChar
  @EscapeChar
end

#Keys ⇒ Object

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PrintKey: —

    csv首行是否打印key

  • Keys: —

    每列key的名字

  • Delimiter: —

    各字段间的分隔符

  • EscapeChar: —

    若字段内容中包含分隔符,则使用该转义符包裹改字段,只能填写单引号、双引号、空字符串

  • NonExistingField: —

    对于上面指定的不存在字段使用该内容填充



4966
4967
4968
# File 'lib/v20201016/models.rb', line 4966

def Keys
  @Keys
end

#NonExistingField ⇒ Object

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PrintKey: —

    csv首行是否打印key

  • Keys: —

    每列key的名字

  • Delimiter: —

    各字段间的分隔符

  • EscapeChar: —

    若字段内容中包含分隔符,则使用该转义符包裹改字段,只能填写单引号、双引号、空字符串

  • NonExistingField: —

    对于上面指定的不存在字段使用该内容填充



4966
4967
4968
# File 'lib/v20201016/models.rb', line 4966

def NonExistingField
  @NonExistingField
end

#PrintKey ⇒ Object

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PrintKey: —

    csv首行是否打印key

  • Keys: —

    每列key的名字

  • Delimiter: —

    各字段间的分隔符

  • EscapeChar: —

    若字段内容中包含分隔符,则使用该转义符包裹改字段,只能填写单引号、双引号、空字符串

  • NonExistingField: —

    对于上面指定的不存在字段使用该内容填充



4966
4967
4968
# File 'lib/v20201016/models.rb', line 4966

def PrintKey
  @PrintKey
end

Instance Method Details

#deserialize(params) ⇒ Object



4976
4977
4978
4979
4980
4981
4982
# File 'lib/v20201016/models.rb', line 4976

def deserialize(params)
  @PrintKey = params['PrintKey']
  @Keys = params['Keys']
  @Delimiter = params['Delimiter']
  @EscapeChar = params['EscapeChar']
  @NonExistingField = params['NonExistingField']
end