Class: TencentCloud::Tke::V20180525::CreateClusterReleaseRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreateClusterReleaseRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CreateClusterRelease请求参数结构体
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) ⇒ CreateClusterReleaseRequest
constructor
A new instance of CreateClusterReleaseRequest.
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) ⇒ CreateClusterReleaseRequest
Returns a new instance of CreateClusterReleaseRequest.
2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 |
# File 'lib/v20180525/models.rb', line 2253 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
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def Chart @Chart end |
#ChartFrom ⇒ Object
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def ChartFrom @ChartFrom end |
#ChartNamespace ⇒ Object
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def ChartNamespace @ChartNamespace end |
#ChartRepoURL ⇒ Object
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def ChartRepoURL @ChartRepoURL end |
#ChartVersion ⇒ Object
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def ChartVersion @ChartVersion end |
#ClusterId ⇒ Object
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def ClusterId @ClusterId end |
#ClusterType ⇒ Object
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def ClusterType @ClusterType end |
#Name ⇒ Object
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def Name @Name end |
#Namespace ⇒ Object
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def Namespace @Namespace end |
#Password ⇒ Object
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def Password @Password end |
#Username ⇒ Object
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def Username @Username end |
#Values ⇒ Object
2251 2252 2253 |
# File 'lib/v20180525/models.rb', line 2251 def Values @Values end |
Instance Method Details
#deserialize(params) ⇒ Object
2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 |
# File 'lib/v20180525/models.rb', line 2268 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 |