Class: TencentCloud::Cdn::V20180606::Seo

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

Overview

SEO 搜索引擎优化配置,默认为关闭状态

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil) ⇒ Seo

Returns a new instance of Seo.



12702
12703
12704
# File 'lib/v20180606/models.rb', line 12702

def initialize(switch=nil)
  @Switch = switch
end

Instance Attribute Details

#SwitchObject

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

Parameters:

  • Switch:

    SEO 搜索引擎优化配置开关,取值有:



12700
12701
12702
# File 'lib/v20180606/models.rb', line 12700

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



12706
12707
12708
# File 'lib/v20180606/models.rb', line 12706

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