Class: TencentCloud::Clb::V20180317::DescribeExclusiveClustersResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeExclusiveClustersResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeExclusiveClusters返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterset = nil, totalcount = nil, requestid = nil) ⇒ DescribeExclusiveClustersResponse
constructor
A new instance of DescribeExclusiveClustersResponse.
Constructor Details
#initialize(clusterset = nil, totalcount = nil, requestid = nil) ⇒ DescribeExclusiveClustersResponse
Returns a new instance of DescribeExclusiveClustersResponse.
3255 3256 3257 3258 3259 |
# File 'lib/v20180317/models.rb', line 3255 def initialize(clusterset=nil, totalcount=nil, requestid=nil) @ClusterSet = clusterset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ClusterSet ⇒ Object
3253 3254 3255 |
# File 'lib/v20180317/models.rb', line 3253 def ClusterSet @ClusterSet end |
#RequestId ⇒ Object
3253 3254 3255 |
# File 'lib/v20180317/models.rb', line 3253 def RequestId @RequestId end |
#TotalCount ⇒ Object
3253 3254 3255 |
# File 'lib/v20180317/models.rb', line 3253 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 |
# File 'lib/v20180317/models.rb', line 3261 def deserialize(params) unless params['ClusterSet'].nil? @ClusterSet = [] params['ClusterSet'].each do |i| cluster_tmp = Cluster.new cluster_tmp.deserialize(i) @ClusterSet << cluster_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |