Class: TencentCloud::Cwp::V20180228::ProtectHostConfig
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::ProtectHostConfig
- Defined in:
- lib/v20180228/models.rb
Overview
防护机器信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(quuid = nil, protectswitch = nil, autorecovery = nil) ⇒ ProtectHostConfig
constructor
A new instance of ProtectHostConfig.
Constructor Details
#initialize(quuid = nil, protectswitch = nil, autorecovery = nil) ⇒ ProtectHostConfig
Returns a new instance of ProtectHostConfig.
35603 35604 35605 35606 35607 |
# File 'lib/v20180228/models.rb', line 35603 def initialize(quuid=nil, protectswitch=nil, autorecovery=nil) @Quuid = quuid @ProtectSwitch = protectswitch @AutoRecovery = autorecovery end |
Instance Attribute Details
#AutoRecovery ⇒ Object
35601 35602 35603 |
# File 'lib/v20180228/models.rb', line 35601 def AutoRecovery @AutoRecovery end |
#ProtectSwitch ⇒ Object
35601 35602 35603 |
# File 'lib/v20180228/models.rb', line 35601 def ProtectSwitch @ProtectSwitch end |
#Quuid ⇒ Object
35601 35602 35603 |
# File 'lib/v20180228/models.rb', line 35601 def Quuid @Quuid end |
Instance Method Details
#deserialize(params) ⇒ Object
35609 35610 35611 35612 35613 |
# File 'lib/v20180228/models.rb', line 35609 def deserialize(params) @Quuid = params['Quuid'] @ProtectSwitch = params['ProtectSwitch'] @AutoRecovery = params['AutoRecovery'] end |