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.
18326 18327 18328 18329 |
# File 'lib/v20180525/models.rb', line 18326 def initialize(clusterid=nil, scaleinmasters=nil) @ClusterId = clusterid @ScaleInMasters = scaleinmasters end |
Instance Attribute Details
#ClusterId ⇒ Object
18324 18325 18326 |
# File 'lib/v20180525/models.rb', line 18324 def ClusterId @ClusterId end |
#ScaleInMasters ⇒ Object
18324 18325 18326 |
# File 'lib/v20180525/models.rb', line 18324 def ScaleInMasters @ScaleInMasters end |
Instance Method Details
#deserialize(params) ⇒ Object
18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 |
# File 'lib/v20180525/models.rb', line 18331 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 |