Class: TencentCloud::Tse::V20201207::DescribeZookeeperReplicasResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::DescribeZookeeperReplicasResponse
- Defined in:
- lib/v20201207/models.rb
Overview
DescribeZookeeperReplicas返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(replicas = nil, totalcount = nil, requestid = nil) ⇒ DescribeZookeeperReplicasResponse
constructor
A new instance of DescribeZookeeperReplicasResponse.
Constructor Details
#initialize(replicas = nil, totalcount = nil, requestid = nil) ⇒ DescribeZookeeperReplicasResponse
7391 7392 7393 7394 7395 |
# File 'lib/v20201207/models.rb', line 7391 def initialize(replicas=nil, totalcount=nil, requestid=nil) @Replicas = replicas @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Replicas ⇒ Object
7389 7390 7391 |
# File 'lib/v20201207/models.rb', line 7389 def Replicas @Replicas end |
#RequestId ⇒ Object
7389 7390 7391 |
# File 'lib/v20201207/models.rb', line 7389 def RequestId @RequestId end |
#TotalCount ⇒ Object
7389 7390 7391 |
# File 'lib/v20201207/models.rb', line 7389 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 |
# File 'lib/v20201207/models.rb', line 7397 def deserialize(params) unless params['Replicas'].nil? @Replicas = [] params['Replicas'].each do |i| zookeeperreplica_tmp = ZookeeperReplica.new zookeeperreplica_tmp.deserialize(i) @Replicas << zookeeperreplica_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |