Class: TencentCloud::Tke::V20180525::ModifyClusterRuntimeConfigRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyClusterRuntimeConfigRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyClusterRuntimeConfig请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #ClusterRuntimeConfig ⇒ Object
- #DstK8SVersion ⇒ Object
- #NodePoolRuntimeConfig ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, dstk8sversion = nil, clusterruntimeconfig = nil, nodepoolruntimeconfig = nil) ⇒ ModifyClusterRuntimeConfigRequest
constructor
A new instance of ModifyClusterRuntimeConfigRequest.
Constructor Details
#initialize(clusterid = nil, dstk8sversion = nil, clusterruntimeconfig = nil, nodepoolruntimeconfig = nil) ⇒ ModifyClusterRuntimeConfigRequest
Returns a new instance of ModifyClusterRuntimeConfigRequest.
14173 14174 14175 14176 14177 14178 |
# File 'lib/v20180525/models.rb', line 14173 def initialize(clusterid=nil, dstk8sversion=nil, clusterruntimeconfig=nil, nodepoolruntimeconfig=nil) @ClusterId = clusterid @DstK8SVersion = dstk8sversion @ClusterRuntimeConfig = clusterruntimeconfig @NodePoolRuntimeConfig = nodepoolruntimeconfig end |
Instance Attribute Details
#ClusterId ⇒ Object
14171 14172 14173 |
# File 'lib/v20180525/models.rb', line 14171 def ClusterId @ClusterId end |
#ClusterRuntimeConfig ⇒ Object
14171 14172 14173 |
# File 'lib/v20180525/models.rb', line 14171 def ClusterRuntimeConfig @ClusterRuntimeConfig end |
#DstK8SVersion ⇒ Object
14171 14172 14173 |
# File 'lib/v20180525/models.rb', line 14171 def DstK8SVersion @DstK8SVersion end |
#NodePoolRuntimeConfig ⇒ Object
14171 14172 14173 |
# File 'lib/v20180525/models.rb', line 14171 def NodePoolRuntimeConfig @NodePoolRuntimeConfig end |
Instance Method Details
#deserialize(params) ⇒ Object
14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 |
# File 'lib/v20180525/models.rb', line 14180 def deserialize(params) @ClusterId = params['ClusterId'] @DstK8SVersion = params['DstK8SVersion'] unless params['ClusterRuntimeConfig'].nil? @ClusterRuntimeConfig = RuntimeConfig.new @ClusterRuntimeConfig.deserialize(params['ClusterRuntimeConfig']) end unless params['NodePoolRuntimeConfig'].nil? @NodePoolRuntimeConfig = [] params['NodePoolRuntimeConfig'].each do |i| nodepoolruntime_tmp = NodePoolRuntime.new nodepoolruntime_tmp.deserialize(i) @NodePoolRuntimeConfig << nodepoolruntime_tmp end end end |