Class: TencentCloud::Cdn::V20180606::Revalidate

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

Overview

是否回源站校验

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil, path = nil) ⇒ Revalidate

Returns a new instance of Revalidate.



11634
11635
11636
11637
# File 'lib/v20180606/models.rb', line 11634

def initialize(switch=nil, path=nil)
  @Switch = switch
  @Path = path
end

Instance Attribute Details

#PathObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Path:

    只在特定请求路径回源站校验



11632
11633
11634
# File 'lib/v20180606/models.rb', line 11632

def Path
  @Path
end

#SwitchObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Path:

    只在特定请求路径回源站校验



11632
11633
11634
# File 'lib/v20180606/models.rb', line 11632

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



11639
11640
11641
11642
# File 'lib/v20180606/models.rb', line 11639

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