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.
16810 16811 16812 |
# File 'lib/v20190612/models.rb', line 16810 def initialize(failovertype=nil) @FailOverType = failovertype end |
Instance Attribute Details
#FailOverType ⇒ Object
16808 16809 16810 |
# File 'lib/v20190612/models.rb', line 16808 def FailOverType @FailOverType end |
Instance Method Details
#deserialize(params) ⇒ Object
16814 16815 16816 |
# File 'lib/v20190612/models.rb', line 16814 def deserialize(params) @FailOverType = params['FailOverType'] end |