Class: TencentCloud::Iss::V20230517::ListOrganizationChannelsData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::ListOrganizationChannelsData
- Defined in:
- lib/v20230517/models.rb
Overview
查询组织目录下的通道列表返回数据
Instance Attribute Summary collapse
-
#List ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PageSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagenumber = nil, pagesize = nil, totalcount = nil, list = nil) ⇒ ListOrganizationChannelsData
constructor
A new instance of ListOrganizationChannelsData.
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
#List ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5177 5178 5179 |
# File 'lib/v20230517/models.rb', line 5177 def List @List end |
#PageNumber ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5177 5178 5179 |
# File 'lib/v20230517/models.rb', line 5177 def PageNumber @PageNumber end |
#PageSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5177 5178 5179 |
# File 'lib/v20230517/models.rb', line 5177 def PageSize @PageSize end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
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 |