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
1287 1288 1289 1290 1291 |
# File 'lib/v20190719/models.rb', line 1287 def initialize(totalcount=nil, bucketlist=nil, requestid=nil) @TotalCount = totalcount @BucketList = bucketlist @RequestId = requestid end |
Instance Attribute Details
#BucketList ⇒ Object
1285 1286 1287 |
# File 'lib/v20190719/models.rb', line 1285 def BucketList @BucketList end |
#RequestId ⇒ Object
1285 1286 1287 |
# File 'lib/v20190719/models.rb', line 1285 def RequestId @RequestId end |
#TotalCount ⇒ Object
1285 1286 1287 |
# File 'lib/v20190719/models.rb', line 1285 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/v20190719/models.rb', line 1293 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 |