Class: TencentCloud::Cfs::V20190719::DescribeBucketListResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190719/models.rb

Overview

DescribeBucketList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BucketListObject

Parameters:

  • TotalCount:

    桶的数量

  • BucketList:

    桶列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1746
1747
1748
# File 'lib/v20190719/models.rb', line 1746

def BucketList
  @BucketList
end

#RequestIdObject

Parameters:

  • TotalCount:

    桶的数量

  • BucketList:

    桶列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1746
1747
1748
# File 'lib/v20190719/models.rb', line 1746

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    桶的数量

  • BucketList:

    桶列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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