Class: TencentCloud::Tke::V20180525::ScaleInClusterMasterRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ScaleInClusterMasterRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ScaleInClusterMaster请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, scaleinmasters = nil) ⇒ ScaleInClusterMasterRequest
constructor
A new instance of ScaleInClusterMasterRequest.
Constructor Details
#initialize(clusterid = nil, scaleinmasters = nil) ⇒ ScaleInClusterMasterRequest
Returns a new instance of ScaleInClusterMasterRequest.
19528 19529 19530 19531 |
# File 'lib/v20180525/models.rb', line 19528 def initialize(clusterid=nil, scaleinmasters=nil) @ClusterId = clusterid @ScaleInMasters = scaleinmasters end |
Instance Attribute Details
#ClusterId ⇒ Object
19526 19527 19528 |
# File 'lib/v20180525/models.rb', line 19526 def ClusterId @ClusterId end |
#ScaleInMasters ⇒ Object
19526 19527 19528 |
# File 'lib/v20180525/models.rb', line 19526 def ScaleInMasters @ScaleInMasters end |
Instance Method Details
#deserialize(params) ⇒ Object
19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 |
# File 'lib/v20180525/models.rb', line 19533 def deserialize(params) @ClusterId = params['ClusterId'] unless params['ScaleInMasters'].nil? @ScaleInMasters = [] params['ScaleInMasters'].each do |i| scaleinmaster_tmp = ScaleInMaster.new scaleinmaster_tmp.deserialize(i) @ScaleInMasters << scaleinmaster_tmp end end end |