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.



8725
8726
8727
8728
# File 'lib/v20180606/models.rb', line 8725

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

Instance Attribute Details

#PathObject

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

Parameters:

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



8723
8724
8725
# File 'lib/v20180606/models.rb', line 8723

def Path
  @Path
end

#SwitchObject

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

Parameters:

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



8723
8724
8725
# File 'lib/v20180606/models.rb', line 8723

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



8730
8731
8732
8733
# File 'lib/v20180606/models.rb', line 8730

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