Class: TencentCloud::Iss::V20230517::ListOrganizationChannelsData

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

Returns a new instance of ListOrganizationChannelsData.



5179
5180
5181
5182
5183
5184
# File 'lib/v20230517/models.rb', line 5179

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:

    设备通道信息列表



5177
5178
5179
# File 'lib/v20230517/models.rb', line 5177

def List
  @List
end

#PageNumberObject

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

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



5177
5178
5179
# File 'lib/v20230517/models.rb', line 5177

def PageNumber
  @PageNumber
end

#PageSizeObject

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

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



5177
5178
5179
# File 'lib/v20230517/models.rb', line 5177

def PageSize
  @PageSize
end

#TotalCountObject

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

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



5177
5178
5179
# File 'lib/v20230517/models.rb', line 5177

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
# File 'lib/v20230517/models.rb', line 5186

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