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.
17990 17991 17992 17993 |
# File 'lib/v20180525/models.rb', line 17990 def initialize(clusterid=nil, scaleinmasters=nil) @ClusterId = clusterid @ScaleInMasters = scaleinmasters end |
Instance Attribute Details
#ClusterId ⇒ Object
17988 17989 17990 |
# File 'lib/v20180525/models.rb', line 17988 def ClusterId @ClusterId end |
#ScaleInMasters ⇒ Object
17988 17989 17990 |
# File 'lib/v20180525/models.rb', line 17988 def ScaleInMasters @ScaleInMasters end |
Instance Method Details
#deserialize(params) ⇒ Object
17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 |
# File 'lib/v20180525/models.rb', line 17995 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 |