Class: TencentCloud::Iss::V20230517::ListRecordBackupPlanDevicesData

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

Overview

查询录像上云计划关联通道的返回数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagenumber = nil, pagesize = nil, totalcount = nil, list = nil) ⇒ ListRecordBackupPlanDevicesData

Returns a new instance of ListRecordBackupPlanDevicesData.



5323
5324
5325
5326
5327
5328
# File 'lib/v20230517/models.rb', line 5323

def initialize(pagenumber=nil, pagesize=nil, totalcount=nil, list=nil)
  @PageNumber = pagenumber
  @PageSize = pagesize
  @TotalCount = totalcount
  @List = list
end

Instance Attribute Details

#ListObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



5321
5322
5323
# File 'lib/v20230517/models.rb', line 5321

def List
  @List
end

#PageNumberObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



5321
5322
5323
# File 'lib/v20230517/models.rb', line 5321

def PageNumber
  @PageNumber
end

#PageSizeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



5321
5322
5323
# File 'lib/v20230517/models.rb', line 5321

def PageSize
  @PageSize
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



5321
5322
5323
# File 'lib/v20230517/models.rb', line 5321

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
# File 'lib/v20230517/models.rb', line 5330

def deserialize(params)
  @PageNumber = params['PageNumber']
  @PageSize = params['PageSize']
  @TotalCount = params['TotalCount']
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      recordplanchannelinfo_tmp = RecordPlanChannelInfo.new
      recordplanchannelinfo_tmp.deserialize(i)
      @List << recordplanchannelinfo_tmp
    end
  end
end