Class: TencentCloud::Vod::V20240718::DescribeStorageResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20240718::DescribeStorageResponse
- Defined in:
- lib/v20240718/models.rb
Overview
DescribeStorage返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, storageinfoset = nil, requestid = nil) ⇒ DescribeStorageResponse
constructor
A new instance of DescribeStorageResponse.
Constructor Details
#initialize(totalcount = nil, storageinfoset = nil, requestid = nil) ⇒ DescribeStorageResponse
Returns a new instance of DescribeStorageResponse.
373 374 375 376 377 |
# File 'lib/v20240718/models.rb', line 373 def initialize(totalcount=nil, storageinfoset=nil, requestid=nil) @TotalCount = totalcount @StorageInfoSet = storageinfoset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
371 372 373 |
# File 'lib/v20240718/models.rb', line 371 def RequestId @RequestId end |
#StorageInfoSet ⇒ Object
371 372 373 |
# File 'lib/v20240718/models.rb', line 371 def StorageInfoSet @StorageInfoSet end |
#TotalCount ⇒ Object
371 372 373 |
# File 'lib/v20240718/models.rb', line 371 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
379 380 381 382 383 384 385 386 387 388 389 390 |
# File 'lib/v20240718/models.rb', line 379 def deserialize(params) @TotalCount = params['TotalCount'] unless params['StorageInfoSet'].nil? @StorageInfoSet = [] params['StorageInfoSet'].each do |i| storageinfo_tmp = StorageInfo.new storageinfo_tmp.deserialize(i) @StorageInfoSet << storageinfo_tmp end end @RequestId = params['RequestId'] end |