Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQClusterResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQClusterResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQCluster返回参数结构体
Instance Attribute Summary collapse
-
#ClusterConfig ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ClusterInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ClusterStats ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterinfo = nil, clusterconfig = nil, clusterstats = nil, requestid = nil) ⇒ DescribeRocketMQClusterResponse
constructor
A new instance of DescribeRocketMQClusterResponse.
Constructor Details
#initialize(clusterinfo = nil, clusterconfig = nil, clusterstats = nil, requestid = nil) ⇒ DescribeRocketMQClusterResponse
Returns a new instance of DescribeRocketMQClusterResponse.
5800 5801 5802 5803 5804 5805 |
# File 'lib/v20200217/models.rb', line 5800 def initialize(clusterinfo=nil, clusterconfig=nil, clusterstats=nil, requestid=nil) @ClusterInfo = clusterinfo @ClusterConfig = clusterconfig @ClusterStats = clusterstats @RequestId = requestid end |
Instance Attribute Details
#ClusterConfig ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5798 5799 5800 |
# File 'lib/v20200217/models.rb', line 5798 def ClusterConfig @ClusterConfig end |
#ClusterInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5798 5799 5800 |
# File 'lib/v20200217/models.rb', line 5798 def ClusterInfo @ClusterInfo end |
#ClusterStats ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5798 5799 5800 |
# File 'lib/v20200217/models.rb', line 5798 def ClusterStats @ClusterStats end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5798 5799 5800 |
# File 'lib/v20200217/models.rb', line 5798 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 |
# File 'lib/v20200217/models.rb', line 5807 def deserialize(params) unless params['ClusterInfo'].nil? @ClusterInfo = RocketMQClusterInfo.new @ClusterInfo.deserialize(params['ClusterInfo']) end unless params['ClusterConfig'].nil? @ClusterConfig = RocketMQClusterConfig.new @ClusterConfig.deserialize(params['ClusterConfig']) end unless params['ClusterStats'].nil? @ClusterStats = RocketMQClusterRecentStats.new @ClusterStats.deserialize(params['ClusterStats']) end @RequestId = params['RequestId'] end |