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.
14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 |
# File 'lib/v20180525/models.rb', line 14900 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
14898 14899 14900 |
# File 'lib/v20180525/models.rb', line 14898 def AutoUpgradeClusterLevel @AutoUpgradeClusterLevel end |
#ClusterDesc ⇒ Object
14898 14899 14900 |
# File 'lib/v20180525/models.rb', line 14898 def ClusterDesc @ClusterDesc end |
#ClusterId ⇒ Object
14898 14899 14900 |
# File 'lib/v20180525/models.rb', line 14898 def ClusterId @ClusterId end |
#ClusterLevel ⇒ Object
14898 14899 14900 |
# File 'lib/v20180525/models.rb', line 14898 def ClusterLevel @ClusterLevel end |
#ClusterName ⇒ Object
14898 14899 14900 |
# File 'lib/v20180525/models.rb', line 14898 def ClusterName @ClusterName end |
#ClusterProperty ⇒ Object
14898 14899 14900 |
# File 'lib/v20180525/models.rb', line 14898 def ClusterProperty @ClusterProperty end |
#ProjectId ⇒ Object
14898 14899 14900 |
# File 'lib/v20180525/models.rb', line 14898 def ProjectId @ProjectId end |
#QGPUShareEnable ⇒ Object
14898 14899 14900 |
# File 'lib/v20180525/models.rb', line 14898 def QGPUShareEnable @QGPUShareEnable end |
Instance Method Details
#deserialize(params) ⇒ Object
14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 |
# File 'lib/v20180525/models.rb', line 14911 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 |