Class: TencentCloud::Cfs::V20190719::DescribeBucketListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::DescribeBucketListResponse
- Defined in:
- lib/v20190719/models.rb
Overview
DescribeBucketList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, bucketlist = nil, requestid = nil) ⇒ DescribeBucketListResponse
constructor
A new instance of DescribeBucketListResponse.
Constructor Details
#initialize(totalcount = nil, bucketlist = nil, requestid = nil) ⇒ DescribeBucketListResponse
Returns a new instance of DescribeBucketListResponse.
1748 1749 1750 1751 1752 |
# File 'lib/v20190719/models.rb', line 1748 def initialize(totalcount=nil, bucketlist=nil, requestid=nil) @TotalCount = totalcount @BucketList = bucketlist @RequestId = requestid end |
Instance Attribute Details
#BucketList ⇒ Object
1746 1747 1748 |
# File 'lib/v20190719/models.rb', line 1746 def BucketList @BucketList end |
#RequestId ⇒ Object
1746 1747 1748 |
# File 'lib/v20190719/models.rb', line 1746 def RequestId @RequestId end |
#TotalCount ⇒ Object
1746 1747 1748 |
# File 'lib/v20190719/models.rb', line 1746 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 |
# File 'lib/v20190719/models.rb', line 1754 def deserialize(params) @TotalCount = params['TotalCount'] unless params['BucketList'].nil? @BucketList = [] params['BucketList'].each do |i| bucketinfo_tmp = BucketInfo.new bucketinfo_tmp.deserialize(i) @BucketList << bucketinfo_tmp end end @RequestId = params['RequestId'] end |