Class: TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceMonitorDataResponse

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(data = nil, requestid = nil) ⇒ DescribeDeviceMonitorDataResponse

Returns a new instance of DescribeDeviceMonitorDataResponse.



2280
2281
2282
2283
# File 'lib/v20201201/models.rb', line 2280

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    查询设备统计monitor信息列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2278
2279
2280
# File 'lib/v20201201/models.rb', line 2278

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    查询设备统计monitor信息列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2278
2279
2280
# File 'lib/v20201201/models.rb', line 2278

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'lib/v20201201/models.rb', line 2285

def deserialize(params)
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      devicemonitorvalue_tmp = DeviceMonitorValue.new
      devicemonitorvalue_tmp.deserialize(i)
      @Data << devicemonitorvalue_tmp
    end
  end
  @RequestId = params['RequestId']
end