Class: TencentCloud::Iss::V20230517::ListRecordPlanDevicesData

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) ⇒ ListRecordPlanDevicesData

Returns a new instance of ListRecordPlanDevicesData.



5599
5600
5601
5602
5603
5604
# File 'lib/v20230517/models.rb', line 5599

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:

    设备通道信息列表



5597
5598
5599
# File 'lib/v20230517/models.rb', line 5597

def List
  @List
end

#PageNumberObject

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

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



5597
5598
5599
# File 'lib/v20230517/models.rb', line 5597

def PageNumber
  @PageNumber
end

#PageSizeObject

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

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



5597
5598
5599
# File 'lib/v20230517/models.rb', line 5597

def PageSize
  @PageSize
end

#TotalCountObject

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

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



5597
5598
5599
# File 'lib/v20230517/models.rb', line 5597

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
# File 'lib/v20230517/models.rb', line 5606

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