Class: TencentCloud::Cls::V20201016::EsTimeInfo

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

Overview

Es导入时间字段信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, timekey = nil, timeformat = nil, timezone = nil) ⇒ EsTimeInfo

Returns a new instance of EsTimeInfo.



10815
10816
10817
10818
10819
10820
# File 'lib/v20201016/models.rb', line 10815

def initialize(type=nil, timekey=nil, timeformat=nil, timezone=nil)
  @Type = type
  @TimeKey = timekey
  @TimeFormat = timeformat
  @TimeZone = timezone
end

Instance Attribute Details

#TimeFormat ⇒ Object

时间类型为 2: 指定日志字段时必填



10813
10814
10815
# File 'lib/v20201016/models.rb', line 10813

def TimeFormat
  @TimeFormat
end

#TimeKey ⇒ Object

时间类型为 2: 指定日志字段时必填



10813
10814
10815
# File 'lib/v20201016/models.rb', line 10813

def TimeKey
  @TimeKey
end

#TimeZone ⇒ Object

时间类型为 2: 指定日志字段时必填



10813
10814
10815
# File 'lib/v20201016/models.rb', line 10813

def TimeZone
  @TimeZone
end

#Type ⇒ Object

时间类型为 2: 指定日志字段时必填



10813
10814
10815
# File 'lib/v20201016/models.rb', line 10813

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



10822
10823
10824
10825
10826
10827
# File 'lib/v20201016/models.rb', line 10822

def deserialize(params)
  @Type = params['Type']
  @TimeKey = params['TimeKey']
  @TimeFormat = params['TimeFormat']
  @TimeZone = params['TimeZone']
end