Class: TencentCloud::Cdn::V20180606::QueryStringKey

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

Overview

组成CacheKey的一部分

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil, reorder = nil, action = nil, value = nil) ⇒ QueryStringKey

Returns a new instance of QueryStringKey.



8166
8167
8168
8169
8170
8171
# File 'lib/v20180606/models.rb', line 8166

def initialize(switch=nil, reorder=nil, action=nil, value=nil)
  @Switch = switch
  @Reorder = reorder
  @Action = action
  @Value = value
end

Instance Attribute Details

#Action ⇒ Object

on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 includeAll:包含所有 excludeAll:排除所有 includeCustom:自定义包含 excludeCustom:自定义排除 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch: —

    CacheKey是否由QueryString组成配置开关,取值有:

  • Reorder: —

    是否重新排序

  • Action: —

    使用/排除部分url参数,取值有:

  • Value: —

    使用/排除的url参数数组,';' 分割



8164
8165
8166
# File 'lib/v20180606/models.rb', line 8164

def Action
  @Action
end

#Reorder ⇒ Object

on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 includeAll:包含所有 excludeAll:排除所有 includeCustom:自定义包含 excludeCustom:自定义排除 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch: —

    CacheKey是否由QueryString组成配置开关,取值有:

  • Reorder: —

    是否重新排序

  • Action: —

    使用/排除部分url参数,取值有:

  • Value: —

    使用/排除的url参数数组,';' 分割



8164
8165
8166
# File 'lib/v20180606/models.rb', line 8164

def Reorder
  @Reorder
end

#Switch ⇒ Object

on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 includeAll:包含所有 excludeAll:排除所有 includeCustom:自定义包含 excludeCustom:自定义排除 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch: —

    CacheKey是否由QueryString组成配置开关,取值有:

  • Reorder: —

    是否重新排序

  • Action: —

    使用/排除部分url参数,取值有:

  • Value: —

    使用/排除的url参数数组,';' 分割



8164
8165
8166
# File 'lib/v20180606/models.rb', line 8164

def Switch
  @Switch
end

#Value ⇒ Object

on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 includeAll:包含所有 excludeAll:排除所有 includeCustom:自定义包含 excludeCustom:自定义排除 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch: —

    CacheKey是否由QueryString组成配置开关,取值有:

  • Reorder: —

    是否重新排序

  • Action: —

    使用/排除部分url参数,取值有:

  • Value: —

    使用/排除的url参数数组,';' 分割



8164
8165
8166
# File 'lib/v20180606/models.rb', line 8164

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



8173
8174
8175
8176
8177
8178
# File 'lib/v20180606/models.rb', line 8173

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