Class: TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceMonitorDataRequest

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

Overview

DescribeDeviceMonitorData请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(starttime = nil, endtime = nil, type = nil, timesspec = nil) ⇒ DescribeDeviceMonitorDataRequest

Returns a new instance of DescribeDeviceMonitorDataRequest.



2256
2257
2258
2259
2260
2261
# File 'lib/v20201201/models.rb', line 2256

def initialize(starttime=nil, endtime=nil, type=nil, timesspec=nil)
  @StartTime = starttime
  @EndTime = endtime
  @Type = type
  @TimesSpec = timesspec
end

Instance Attribute Details

#EndTimeObject

Parameters:

  • StartTime:

    开始时间戳

  • EndTime:

    结束时间戳

  • Type:

    类型 支持 OnlineChannels/OnlineDevices/RecordingChannels

  • TimesSpec:

    时间粒度 目前只支持 1h



2254
2255
2256
# File 'lib/v20201201/models.rb', line 2254

def EndTime
  @EndTime
end

#StartTimeObject

Parameters:

  • StartTime:

    开始时间戳

  • EndTime:

    结束时间戳

  • Type:

    类型 支持 OnlineChannels/OnlineDevices/RecordingChannels

  • TimesSpec:

    时间粒度 目前只支持 1h



2254
2255
2256
# File 'lib/v20201201/models.rb', line 2254

def StartTime
  @StartTime
end

#TimesSpecObject

Parameters:

  • StartTime:

    开始时间戳

  • EndTime:

    结束时间戳

  • Type:

    类型 支持 OnlineChannels/OnlineDevices/RecordingChannels

  • TimesSpec:

    时间粒度 目前只支持 1h



2254
2255
2256
# File 'lib/v20201201/models.rb', line 2254

def TimesSpec
  @TimesSpec
end

#TypeObject

Parameters:

  • StartTime:

    开始时间戳

  • EndTime:

    结束时间戳

  • Type:

    类型 支持 OnlineChannels/OnlineDevices/RecordingChannels

  • TimesSpec:

    时间粒度 目前只支持 1h



2254
2255
2256
# File 'lib/v20201201/models.rb', line 2254

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



2263
2264
2265
2266
2267
2268
# File 'lib/v20201201/models.rb', line 2263

def deserialize(params)
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Type = params['Type']
  @TimesSpec = params['TimesSpec']
end