Class: TencentCloud::Gpm::V20200820::DescribeDataRequest

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

Overview

DescribeData请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(starttime = nil, endtime = nil, timetype = nil, matchcode = nil) ⇒ DescribeDataRequest

Returns a new instance of DescribeDataRequest.



316
317
318
319
320
321
# File 'lib/v20200820/models.rb', line 316

def initialize(starttime=nil, endtime=nil, timetype=nil, matchcode=nil)
  @StartTime = starttime
  @EndTime = endtime
  @TimeType = timetype
  @MatchCode = matchcode
end

Instance Attribute Details

#EndTimeObject

Parameters:

  • StartTime:

    起始时间,单位:秒

  • EndTime:

    截止时间,单位:秒

  • TimeType:

    时间粒度,1表示1天;2表示1小时;3表示1分钟;4表示10分钟;5表示30分钟

  • MatchCode:

    匹配code



314
315
316
# File 'lib/v20200820/models.rb', line 314

def EndTime
  @EndTime
end

#MatchCodeObject

Parameters:

  • StartTime:

    起始时间,单位:秒

  • EndTime:

    截止时间,单位:秒

  • TimeType:

    时间粒度,1表示1天;2表示1小时;3表示1分钟;4表示10分钟;5表示30分钟

  • MatchCode:

    匹配code



314
315
316
# File 'lib/v20200820/models.rb', line 314

def MatchCode
  @MatchCode
end

#StartTimeObject

Parameters:

  • StartTime:

    起始时间,单位:秒

  • EndTime:

    截止时间,单位:秒

  • TimeType:

    时间粒度,1表示1天;2表示1小时;3表示1分钟;4表示10分钟;5表示30分钟

  • MatchCode:

    匹配code



314
315
316
# File 'lib/v20200820/models.rb', line 314

def StartTime
  @StartTime
end

#TimeTypeObject

Parameters:

  • StartTime:

    起始时间,单位:秒

  • EndTime:

    截止时间,单位:秒

  • TimeType:

    时间粒度,1表示1天;2表示1小时;3表示1分钟;4表示10分钟;5表示30分钟

  • MatchCode:

    匹配code



314
315
316
# File 'lib/v20200820/models.rb', line 314

def TimeType
  @TimeType
end

Instance Method Details

#deserialize(params) ⇒ Object



323
324
325
326
327
328
# File 'lib/v20200820/models.rb', line 323

def deserialize(params)
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @TimeType = params['TimeType']
  @MatchCode = params['MatchCode']
end