Class: TencentCloud::Clb::V20180317::ClusterItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::ClusterItem
- Defined in:
- lib/v20180317/models.rb
Overview
独占集群信息
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ClusterName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Zone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, clustername = nil, zone = nil) ⇒ ClusterItem
constructor
A new instance of ClusterItem.
Constructor Details
#initialize(clusterid = nil, clustername = nil, zone = nil) ⇒ ClusterItem
Returns a new instance of ClusterItem.
1288 1289 1290 1291 1292 |
# File 'lib/v20180317/models.rb', line 1288 def initialize(clusterid=nil, clustername=nil, zone=nil) @ClusterId = clusterid @ClusterName = clustername @Zone = zone end |
Instance Attribute Details
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1286 1287 1288 |
# File 'lib/v20180317/models.rb', line 1286 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1286 1287 1288 |
# File 'lib/v20180317/models.rb', line 1286 def ClusterName @ClusterName end |
#Zone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1286 1287 1288 |
# File 'lib/v20180317/models.rb', line 1286 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
1294 1295 1296 1297 1298 |
# File 'lib/v20180317/models.rb', line 1294 def deserialize(params) @ClusterId = params['ClusterId'] @ClusterName = params['ClusterName'] @Zone = params['Zone'] end |