Class: TencentCloud::Ckafka::V20190819::DateParam

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

Overview

数据处理——Value处理参数——转换时间格式参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(format = nil, targettype = nil, timezone = nil) ⇒ DateParam

Returns a new instance of DateParam.



3205
3206
3207
3208
3209
# File 'lib/v20190819/models.rb', line 3205

def initialize(format=nil, targettype=nil, timezone=nil)
  @Format = format
  @TargetType = targettype
  @TimeZone = timezone
end

Instance Attribute Details

#FormatObject

Parameters:

  • Format:

    时间格式

  • TargetType:

    输入类型,string,unix时间戳,默认string

  • TimeZone:

    时区,默认GMT+8



3203
3204
3205
# File 'lib/v20190819/models.rb', line 3203

def Format
  @Format
end

#TargetTypeObject

Parameters:

  • Format:

    时间格式

  • TargetType:

    输入类型,string,unix时间戳,默认string

  • TimeZone:

    时区,默认GMT+8



3203
3204
3205
# File 'lib/v20190819/models.rb', line 3203

def TargetType
  @TargetType
end

#TimeZoneObject

Parameters:

  • Format:

    时间格式

  • TargetType:

    输入类型,string,unix时间戳,默认string

  • TimeZone:

    时区,默认GMT+8



3203
3204
3205
# File 'lib/v20190819/models.rb', line 3203

def TimeZone
  @TimeZone
end

Instance Method Details

#deserialize(params) ⇒ Object



3211
3212
3213
3214
3215
# File 'lib/v20190819/models.rb', line 3211

def deserialize(params)
  @Format = params['Format']
  @TargetType = params['TargetType']
  @TimeZone = params['TimeZone']
end