Class: TencentCloud::Cdb::V20170320::ModifyProtectModeRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ModifyProtectModeRequest
- Defined in:
- lib/v20170320/models.rb
Overview
ModifyProtectMode请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(protectmode = nil, instanceid = nil) ⇒ ModifyProtectModeRequest
constructor
A new instance of ModifyProtectModeRequest.
Constructor Details
#initialize(protectmode = nil, instanceid = nil) ⇒ ModifyProtectModeRequest
Returns a new instance of ModifyProtectModeRequest.
11487 11488 11489 11490 |
# File 'lib/v20170320/models.rb', line 11487 def initialize(protectmode=nil, instanceid=nil) @ProtectMode = protectmode @InstanceId = instanceid end |
Instance Attribute Details
#InstanceId ⇒ Object
11485 11486 11487 |
# File 'lib/v20170320/models.rb', line 11485 def InstanceId @InstanceId end |
#ProtectMode ⇒ Object
11485 11486 11487 |
# File 'lib/v20170320/models.rb', line 11485 def ProtectMode @ProtectMode end |
Instance Method Details
#deserialize(params) ⇒ Object
11492 11493 11494 11495 |
# File 'lib/v20170320/models.rb', line 11492 def deserialize(params) @ProtectMode = params['ProtectMode'] @InstanceId = params['InstanceId'] end |