Class: TencentCloud::Tke::V20180525::ResourceDeleteOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ResourceDeleteOption
- Defined in:
- lib/v20180525/models.rb
Overview
资源删除选项
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourcetype = nil, deletemode = nil, skipdeletionprotection = nil) ⇒ ResourceDeleteOption
constructor
A new instance of ResourceDeleteOption.
Constructor Details
#initialize(resourcetype = nil, deletemode = nil, skipdeletionprotection = nil) ⇒ ResourceDeleteOption
Returns a new instance of ResourceDeleteOption.
17612 17613 17614 17615 17616 |
# File 'lib/v20180525/models.rb', line 17612 def initialize(resourcetype=nil, deletemode=nil, skipdeletionprotection=nil) @ResourceType = resourcetype @DeleteMode = deletemode @SkipDeletionProtection = skipdeletionprotection end |
Instance Attribute Details
#DeleteMode ⇒ Object
17610 17611 17612 |
# File 'lib/v20180525/models.rb', line 17610 def DeleteMode @DeleteMode end |
#ResourceType ⇒ Object
17610 17611 17612 |
# File 'lib/v20180525/models.rb', line 17610 def ResourceType @ResourceType end |
#SkipDeletionProtection ⇒ Object
17610 17611 17612 |
# File 'lib/v20180525/models.rb', line 17610 def SkipDeletionProtection @SkipDeletionProtection end |
Instance Method Details
#deserialize(params) ⇒ Object
17618 17619 17620 17621 17622 |
# File 'lib/v20180525/models.rb', line 17618 def deserialize(params) @ResourceType = params['ResourceType'] @DeleteMode = params['DeleteMode'] @SkipDeletionProtection = params['SkipDeletionProtection'] end |