Class: TencentCloud::Tdmq::V20200217::ModifyClusterRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ModifyClusterRequest
- Defined in:
- lib/v20200217/models.rb
Overview
ModifyCluster请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, clustername = nil, remark = nil, publicaccessenabled = nil) ⇒ ModifyClusterRequest
constructor
A new instance of ModifyClusterRequest.
Constructor Details
#initialize(clusterid = nil, clustername = nil, remark = nil, publicaccessenabled = nil) ⇒ ModifyClusterRequest
Returns a new instance of ModifyClusterRequest.
8535 8536 8537 8538 8539 8540 |
# File 'lib/v20200217/models.rb', line 8535 def initialize(clusterid=nil, clustername=nil, remark=nil, publicaccessenabled=nil) @ClusterId = clusterid @ClusterName = clustername @Remark = remark @PublicAccessEnabled = publicaccessenabled end |
Instance Attribute Details
#ClusterId ⇒ Object
8533 8534 8535 |
# File 'lib/v20200217/models.rb', line 8533 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
8533 8534 8535 |
# File 'lib/v20200217/models.rb', line 8533 def ClusterName @ClusterName end |
#PublicAccessEnabled ⇒ Object
8533 8534 8535 |
# File 'lib/v20200217/models.rb', line 8533 def PublicAccessEnabled @PublicAccessEnabled end |
#Remark ⇒ Object
8533 8534 8535 |
# File 'lib/v20200217/models.rb', line 8533 def Remark @Remark end |
Instance Method Details
#deserialize(params) ⇒ Object
8542 8543 8544 8545 8546 8547 |
# File 'lib/v20200217/models.rb', line 8542 def deserialize(params) @ClusterId = params['ClusterId'] @ClusterName = params['ClusterName'] @Remark = params['Remark'] @PublicAccessEnabled = params['PublicAccessEnabled'] end |