Class: TencentCloud::Tccatalog::V20241024::DescribeTccCatalogsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tccatalog::V20241024::DescribeTccCatalogsResponse
- Defined in:
- lib/v20241024/models.rb
Overview
DescribeTccCatalogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tcccatalogset = nil, total = nil, requestid = nil) ⇒ DescribeTccCatalogsResponse
constructor
A new instance of DescribeTccCatalogsResponse.
Constructor Details
#initialize(tcccatalogset = nil, total = nil, requestid = nil) ⇒ DescribeTccCatalogsResponse
Returns a new instance of DescribeTccCatalogsResponse.
182 183 184 185 186 |
# File 'lib/v20241024/models.rb', line 182 def initialize(tcccatalogset=nil, total=nil, requestid=nil) @TccCatalogSet = tcccatalogset @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
180 181 182 |
# File 'lib/v20241024/models.rb', line 180 def RequestId @RequestId end |
#TccCatalogSet ⇒ Object
180 181 182 |
# File 'lib/v20241024/models.rb', line 180 def TccCatalogSet @TccCatalogSet end |
#Total ⇒ Object
180 181 182 |
# File 'lib/v20241024/models.rb', line 180 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
188 189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/v20241024/models.rb', line 188 def deserialize(params) unless params['TccCatalogSet'].nil? @TccCatalogSet = [] params['TccCatalogSet'].each do |i| tcccatalogset_tmp = TccCatalogSet.new tcccatalogset_tmp.deserialize(i) @TccCatalogSet << tcccatalogset_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |