Class: TencentCloud::Mps::V20190612::FailOverOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::FailOverOption
- Defined in:
- lib/v20190612/models.rb
Overview
type FailOverOption struct { FailOverType string json:“FailOverType” // 新增 冷/热备 COLDSTANDBY、HOTSTANDBY }
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(failovertype = nil) ⇒ FailOverOption
constructor
A new instance of FailOverOption.
Constructor Details
#initialize(failovertype = nil) ⇒ FailOverOption
Returns a new instance of FailOverOption.
16730 16731 16732 |
# File 'lib/v20190612/models.rb', line 16730 def initialize(failovertype=nil) @FailOverType = failovertype end |
Instance Attribute Details
#FailOverType ⇒ Object
16728 16729 16730 |
# File 'lib/v20190612/models.rb', line 16728 def FailOverType @FailOverType end |
Instance Method Details
#deserialize(params) ⇒ Object
16734 16735 16736 |
# File 'lib/v20190612/models.rb', line 16734 def deserialize(params) @FailOverType = params['FailOverType'] end |