Class: TencentCloud::Postgres::V20170312::DescribeDedicatedClustersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DescribeDedicatedClustersResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeDedicatedClusters返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dedicatedclusterset = nil, requestid = nil) ⇒ DescribeDedicatedClustersResponse
constructor
A new instance of DescribeDedicatedClustersResponse.
Constructor Details
#initialize(dedicatedclusterset = nil, requestid = nil) ⇒ DescribeDedicatedClustersResponse
Returns a new instance of DescribeDedicatedClustersResponse.
3690 3691 3692 3693 |
# File 'lib/v20170312/models.rb', line 3690 def initialize(dedicatedclusterset=nil, requestid=nil) @DedicatedClusterSet = dedicatedclusterset @RequestId = requestid end |
Instance Attribute Details
#DedicatedClusterSet ⇒ Object
3688 3689 3690 |
# File 'lib/v20170312/models.rb', line 3688 def DedicatedClusterSet @DedicatedClusterSet end |
#RequestId ⇒ Object
3688 3689 3690 |
# File 'lib/v20170312/models.rb', line 3688 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 |
# File 'lib/v20170312/models.rb', line 3695 def deserialize(params) unless params['DedicatedClusterSet'].nil? @DedicatedClusterSet = [] params['DedicatedClusterSet'].each do |i| dedicatedcluster_tmp = DedicatedCluster.new dedicatedcluster_tmp.deserialize(i) @DedicatedClusterSet << dedicatedcluster_tmp end end @RequestId = params['RequestId'] end |