Class: TencentCloud::Tke::V20180525::DeleteClusterRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DeleteClusterRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DeleteCluster请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, instancedeletemode = nil, resourcedeleteoptions = nil) ⇒ DeleteClusterRequest
constructor
A new instance of DeleteClusterRequest.
Constructor Details
#initialize(clusterid = nil, instancedeletemode = nil, resourcedeleteoptions = nil) ⇒ DeleteClusterRequest
Returns a new instance of DeleteClusterRequest.
4214 4215 4216 4217 4218 |
# File 'lib/v20180525/models.rb', line 4214 def initialize(clusterid=nil, instancedeletemode=nil, =nil) @ClusterId = clusterid @InstanceDeleteMode = instancedeletemode @ResourceDeleteOptions = end |
Instance Attribute Details
#ClusterId ⇒ Object
4212 4213 4214 |
# File 'lib/v20180525/models.rb', line 4212 def ClusterId @ClusterId end |
#InstanceDeleteMode ⇒ Object
4212 4213 4214 |
# File 'lib/v20180525/models.rb', line 4212 def InstanceDeleteMode @InstanceDeleteMode end |
#ResourceDeleteOptions ⇒ Object
4212 4213 4214 |
# File 'lib/v20180525/models.rb', line 4212 def ResourceDeleteOptions @ResourceDeleteOptions end |
Instance Method Details
#deserialize(params) ⇒ Object
4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 |
# File 'lib/v20180525/models.rb', line 4220 def deserialize(params) @ClusterId = params['ClusterId'] @InstanceDeleteMode = params['InstanceDeleteMode'] unless params['ResourceDeleteOptions'].nil? @ResourceDeleteOptions = [] params['ResourceDeleteOptions'].each do |i| resourcedeleteoption_tmp = ResourceDeleteOption.new resourcedeleteoption_tmp.deserialize(i) @ResourceDeleteOptions << resourcedeleteoption_tmp end end end |