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.
35973 35974 35975 35976 35977 |
# File 'lib/v20180228/models.rb', line 35973 def initialize(quuid=nil, protectswitch=nil, autorecovery=nil) @Quuid = quuid @ProtectSwitch = protectswitch @AutoRecovery = autorecovery end |
Instance Attribute Details
#AutoRecovery ⇒ Object
35971 35972 35973 |
# File 'lib/v20180228/models.rb', line 35971 def AutoRecovery @AutoRecovery end |
#ProtectSwitch ⇒ Object
35971 35972 35973 |
# File 'lib/v20180228/models.rb', line 35971 def ProtectSwitch @ProtectSwitch end |
#Quuid ⇒ Object
35971 35972 35973 |
# File 'lib/v20180228/models.rb', line 35971 def Quuid @Quuid end |
Instance Method Details
#deserialize(params) ⇒ Object
35979 35980 35981 35982 35983 |
# File 'lib/v20180228/models.rb', line 35979 def deserialize(params) @Quuid = params['Quuid'] @ProtectSwitch = params['ProtectSwitch'] @AutoRecovery = params['AutoRecovery'] end |