Class: TencentCloud::Cdn::V20180606::OriginSni
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::OriginSni
- Defined in:
- lib/v20180606/models.rb
Overview
HTTPS回源SNI
Instance Attribute Summary collapse
-
#ServerName ⇒ Object
开启:on, 关闭:off 注意:此字段可能返回 null,表示取不到有效值。.
-
#Switch ⇒ Object
开启:on, 关闭:off 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, servername = nil) ⇒ OriginSni
constructor
A new instance of OriginSni.
Constructor Details
#initialize(switch = nil, servername = nil) ⇒ OriginSni
Returns a new instance of OriginSni.
10247 10248 10249 10250 |
# File 'lib/v20180606/models.rb', line 10247 def initialize(switch=nil, servername=nil) @Switch = switch @ServerName = servername end |
Instance Attribute Details
#ServerName ⇒ Object
开启:on, 关闭:off 注意:此字段可能返回 null,表示取不到有效值。
10245 10246 10247 |
# File 'lib/v20180606/models.rb', line 10245 def ServerName @ServerName end |
#Switch ⇒ Object
开启:on, 关闭:off 注意:此字段可能返回 null,表示取不到有效值。
10245 10246 10247 |
# File 'lib/v20180606/models.rb', line 10245 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
10252 10253 10254 10255 |
# File 'lib/v20180606/models.rb', line 10252 def deserialize(params) @Switch = params['Switch'] @ServerName = params['ServerName'] end |