Class: TencentCloud::Cdn::V20180606::OriginSni

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

HTTPS回源SNI

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil, servername = nil) ⇒ OriginSni

Returns a new instance of OriginSni.



10228
10229
10230
10231
# File 'lib/v20180606/models.rb', line 10228

def initialize(switch=nil, servername=nil)
  @Switch = switch
  @ServerName = servername
end

Instance Attribute Details

#ServerNameObject

开启:on,关闭:off 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch:

    是否开启HTTPS回源SNI。

  • ServerName:

    回源域名。



10226
10227
10228
# File 'lib/v20180606/models.rb', line 10226

def ServerName
  @ServerName
end

#SwitchObject

开启:on,关闭:off 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch:

    是否开启HTTPS回源SNI。

  • ServerName:

    回源域名。



10226
10227
10228
# File 'lib/v20180606/models.rb', line 10226

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



10233
10234
10235
10236
# File 'lib/v20180606/models.rb', line 10233

def deserialize(params)
  @Switch = params['Switch']
  @ServerName = params['ServerName']
end