Class: TencentCloud::Tke::V20180525::ModifyClusterAttributeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyClusterAttributeRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyClusterAttribute请求参数结构体
Instance Attribute Summary collapse
- #AutoUpgradeClusterLevel ⇒ Object
- #ClusterDesc ⇒ Object
- #ClusterId ⇒ Object
- #ClusterLevel ⇒ Object
- #ClusterName ⇒ Object
- #ClusterProperty ⇒ Object
- #ProjectId ⇒ Object
- #QGPUShareEnable ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, projectid = nil, clustername = nil, clusterdesc = nil, clusterlevel = nil, autoupgradeclusterlevel = nil, qgpushareenable = nil, clusterproperty = nil) ⇒ ModifyClusterAttributeRequest
constructor
A new instance of ModifyClusterAttributeRequest.
Constructor Details
#initialize(clusterid = nil, projectid = nil, clustername = nil, clusterdesc = nil, clusterlevel = nil, autoupgradeclusterlevel = nil, qgpushareenable = nil, clusterproperty = nil) ⇒ ModifyClusterAttributeRequest
Returns a new instance of ModifyClusterAttributeRequest.
13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 |
# File 'lib/v20180525/models.rb', line 13721 def initialize(clusterid=nil, projectid=nil, clustername=nil, clusterdesc=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, qgpushareenable=nil, clusterproperty=nil) @ClusterId = clusterid @ProjectId = projectid @ClusterName = clustername @ClusterDesc = clusterdesc @ClusterLevel = clusterlevel @AutoUpgradeClusterLevel = autoupgradeclusterlevel @QGPUShareEnable = qgpushareenable @ClusterProperty = clusterproperty end |
Instance Attribute Details
#AutoUpgradeClusterLevel ⇒ Object
13719 13720 13721 |
# File 'lib/v20180525/models.rb', line 13719 def AutoUpgradeClusterLevel @AutoUpgradeClusterLevel end |
#ClusterDesc ⇒ Object
13719 13720 13721 |
# File 'lib/v20180525/models.rb', line 13719 def ClusterDesc @ClusterDesc end |
#ClusterId ⇒ Object
13719 13720 13721 |
# File 'lib/v20180525/models.rb', line 13719 def ClusterId @ClusterId end |
#ClusterLevel ⇒ Object
13719 13720 13721 |
# File 'lib/v20180525/models.rb', line 13719 def ClusterLevel @ClusterLevel end |
#ClusterName ⇒ Object
13719 13720 13721 |
# File 'lib/v20180525/models.rb', line 13719 def ClusterName @ClusterName end |
#ClusterProperty ⇒ Object
13719 13720 13721 |
# File 'lib/v20180525/models.rb', line 13719 def ClusterProperty @ClusterProperty end |
#ProjectId ⇒ Object
13719 13720 13721 |
# File 'lib/v20180525/models.rb', line 13719 def ProjectId @ProjectId end |
#QGPUShareEnable ⇒ Object
13719 13720 13721 |
# File 'lib/v20180525/models.rb', line 13719 def QGPUShareEnable @QGPUShareEnable end |
Instance Method Details
#deserialize(params) ⇒ Object
13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 |
# File 'lib/v20180525/models.rb', line 13732 def deserialize(params) @ClusterId = params['ClusterId'] @ProjectId = params['ProjectId'] @ClusterName = params['ClusterName'] @ClusterDesc = params['ClusterDesc'] @ClusterLevel = params['ClusterLevel'] unless params['AutoUpgradeClusterLevel'].nil? @AutoUpgradeClusterLevel = AutoUpgradeClusterLevel.new @AutoUpgradeClusterLevel.deserialize(params['AutoUpgradeClusterLevel']) end @QGPUShareEnable = params['QGPUShareEnable'] unless params['ClusterProperty'].nil? @ClusterProperty = ClusterProperty.new @ClusterProperty.deserialize(params['ClusterProperty']) end end |