Class: TencentCloud::Vcube::V20220410::DescribeVcubeResourcesListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vcube::V20220410::DescribeVcubeResourcesListResponse
- Defined in:
- lib/v20220410/models.rb
Overview
DescribeVcubeResourcesList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourcelist = nil, totalcount = nil, requestid = nil) ⇒ DescribeVcubeResourcesListResponse
constructor
A new instance of DescribeVcubeResourcesListResponse.
Constructor Details
#initialize(resourcelist = nil, totalcount = nil, requestid = nil) ⇒ DescribeVcubeResourcesListResponse
Returns a new instance of DescribeVcubeResourcesListResponse.
1268 1269 1270 1271 1272 |
# File 'lib/v20220410/models.rb', line 1268 def initialize(resourcelist=nil, totalcount=nil, requestid=nil) @ResourceList = resourcelist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1266 1267 1268 |
# File 'lib/v20220410/models.rb', line 1266 def RequestId @RequestId end |
#ResourceList ⇒ Object
1266 1267 1268 |
# File 'lib/v20220410/models.rb', line 1266 def ResourceList @ResourceList end |
#TotalCount ⇒ Object
1266 1267 1268 |
# File 'lib/v20220410/models.rb', line 1266 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 |
# File 'lib/v20220410/models.rb', line 1274 def deserialize(params) unless params['ResourceList'].nil? @ResourceList = [] params['ResourceList'].each do |i| licenseresourceinfo_tmp = LicenseResourceInfo.new licenseresourceinfo_tmp.deserialize(i) @ResourceList << licenseresourceinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |