Class: TencentCloud::Tke::V20180525::UpdateClusterVersionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::UpdateClusterVersionRequest
- Defined in:
- lib/v20180525/models.rb
Overview
UpdateClusterVersion请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #DstVersion ⇒ Object
- #ExtraArgs ⇒ Object
- #MaxNotReadyPercent ⇒ Object
- #SkipPreCheck ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, dstversion = nil, extraargs = nil, maxnotreadypercent = nil, skipprecheck = nil) ⇒ UpdateClusterVersionRequest
constructor
A new instance of UpdateClusterVersionRequest.
Constructor Details
#initialize(clusterid = nil, dstversion = nil, extraargs = nil, maxnotreadypercent = nil, skipprecheck = nil) ⇒ UpdateClusterVersionRequest
Returns a new instance of UpdateClusterVersionRequest.
18898 18899 18900 18901 18902 18903 18904 |
# File 'lib/v20180525/models.rb', line 18898 def initialize(clusterid=nil, dstversion=nil, extraargs=nil, maxnotreadypercent=nil, skipprecheck=nil) @ClusterId = clusterid @DstVersion = dstversion @ExtraArgs = extraargs @MaxNotReadyPercent = maxnotreadypercent @SkipPreCheck = skipprecheck end |
Instance Attribute Details
#ClusterId ⇒ Object
18896 18897 18898 |
# File 'lib/v20180525/models.rb', line 18896 def ClusterId @ClusterId end |
#DstVersion ⇒ Object
18896 18897 18898 |
# File 'lib/v20180525/models.rb', line 18896 def DstVersion @DstVersion end |
#ExtraArgs ⇒ Object
18896 18897 18898 |
# File 'lib/v20180525/models.rb', line 18896 def ExtraArgs @ExtraArgs end |
#MaxNotReadyPercent ⇒ Object
18896 18897 18898 |
# File 'lib/v20180525/models.rb', line 18896 def MaxNotReadyPercent @MaxNotReadyPercent end |
#SkipPreCheck ⇒ Object
18896 18897 18898 |
# File 'lib/v20180525/models.rb', line 18896 def SkipPreCheck @SkipPreCheck end |
Instance Method Details
#deserialize(params) ⇒ Object
18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 |
# File 'lib/v20180525/models.rb', line 18906 def deserialize(params) @ClusterId = params['ClusterId'] @DstVersion = params['DstVersion'] unless params['ExtraArgs'].nil? @ExtraArgs = ClusterExtraArgs.new @ExtraArgs.deserialize(params['ExtraArgs']) end @MaxNotReadyPercent = params['MaxNotReadyPercent'] @SkipPreCheck = params['SkipPreCheck'] end |