Class: TencentCloud::Tke::V20180525::UpgradeClusterReleaseRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::UpgradeClusterReleaseRequest
- Defined in:
- lib/v20180525/models.rb
Overview
UpgradeClusterRelease请求参数结构体
Instance Attribute Summary collapse
- #Chart ⇒ Object
- #ChartFrom ⇒ Object
- #ChartNamespace ⇒ Object
- #ChartRepoURL ⇒ Object
- #ChartVersion ⇒ Object
- #ClusterId ⇒ Object
- #ClusterType ⇒ Object
- #Name ⇒ Object
- #Namespace ⇒ Object
- #Password ⇒ Object
- #Username ⇒ Object
- #Values ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, name = nil, namespace = nil, chart = nil, values = nil, chartfrom = nil, chartversion = nil, chartrepourl = nil, username = nil, password = nil, chartnamespace = nil, clustertype = nil) ⇒ UpgradeClusterReleaseRequest
constructor
A new instance of UpgradeClusterReleaseRequest.
Constructor Details
#initialize(clusterid = nil, name = nil, namespace = nil, chart = nil, values = nil, chartfrom = nil, chartversion = nil, chartrepourl = nil, username = nil, password = nil, chartnamespace = nil, clustertype = nil) ⇒ UpgradeClusterReleaseRequest
Returns a new instance of UpgradeClusterReleaseRequest.
19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 |
# File 'lib/v20180525/models.rb', line 19432 def initialize(clusterid=nil, name=nil, namespace=nil, chart=nil, values=nil, chartfrom=nil, chartversion=nil, chartrepourl=nil, username=nil, password=nil, chartnamespace=nil, clustertype=nil) @ClusterId = clusterid @Name = name @Namespace = namespace @Chart = chart @Values = values @ChartFrom = chartfrom @ChartVersion = chartversion @ChartRepoURL = chartrepourl @Username = username @Password = password @ChartNamespace = chartnamespace @ClusterType = clustertype end |
Instance Attribute Details
#Chart ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def Chart @Chart end |
#ChartFrom ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def ChartFrom @ChartFrom end |
#ChartNamespace ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def ChartNamespace @ChartNamespace end |
#ChartRepoURL ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def ChartRepoURL @ChartRepoURL end |
#ChartVersion ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def ChartVersion @ChartVersion end |
#ClusterId ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def ClusterId @ClusterId end |
#ClusterType ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def ClusterType @ClusterType end |
#Name ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def Name @Name end |
#Namespace ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def Namespace @Namespace end |
#Password ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def Password @Password end |
#Username ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def Username @Username end |
#Values ⇒ Object
19430 19431 19432 |
# File 'lib/v20180525/models.rb', line 19430 def Values @Values end |
Instance Method Details
#deserialize(params) ⇒ Object
19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 |
# File 'lib/v20180525/models.rb', line 19447 def deserialize(params) @ClusterId = params['ClusterId'] @Name = params['Name'] @Namespace = params['Namespace'] @Chart = params['Chart'] unless params['Values'].nil? @Values = ReleaseValues.new @Values.deserialize(params['Values']) end @ChartFrom = params['ChartFrom'] @ChartVersion = params['ChartVersion'] @ChartRepoURL = params['ChartRepoURL'] @Username = params['Username'] @Password = params['Password'] @ChartNamespace = params['ChartNamespace'] @ClusterType = params['ClusterType'] end |