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.



11615
11616
11617
11618
# File 'lib/v20180606/models.rb', line 11615

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

Instance Attribute Details

#PathObject

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

Parameters:

  • Path:

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



11613
11614
11615
# File 'lib/v20180606/models.rb', line 11613

def Path
  @Path
end

#SwitchObject

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

Parameters:

  • Path:

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



11613
11614
11615
# File 'lib/v20180606/models.rb', line 11613

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



11620
11621
11622
11623
# File 'lib/v20180606/models.rb', line 11620

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