Class: TencentCloud::Mongodb::V20190725::InstanceEnableSSLRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::InstanceEnableSSLRequest
- Defined in:
- lib/v20190725/models.rb
Overview
InstanceEnableSSL请求参数结构体
Instance Attribute Summary collapse
-
#Enable ⇒ Object
- true:开启。 - false:关闭。.
-
#InstanceId ⇒ Object
- true:开启。 - false:关闭。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, enable = nil) ⇒ InstanceEnableSSLRequest
constructor
A new instance of InstanceEnableSSLRequest.
Constructor Details
#initialize(instanceid = nil, enable = nil) ⇒ InstanceEnableSSLRequest
Returns a new instance of InstanceEnableSSLRequest.
4141 4142 4143 4144 |
# File 'lib/v20190725/models.rb', line 4141 def initialize(instanceid=nil, enable=nil) @InstanceId = instanceid @Enable = enable end |
Instance Attribute Details
#Enable ⇒ Object
- true:开启。
- false:关闭。
4139 4140 4141 |
# File 'lib/v20190725/models.rb', line 4139 def Enable @Enable end |
#InstanceId ⇒ Object
- true:开启。
- false:关闭。
4139 4140 4141 |
# File 'lib/v20190725/models.rb', line 4139 def InstanceId @InstanceId end |
Instance Method Details
#deserialize(params) ⇒ Object
4146 4147 4148 4149 |
# File 'lib/v20190725/models.rb', line 4146 def deserialize(params) @InstanceId = params['InstanceId'] @Enable = params['Enable'] end |