Class: TencentCloud::Cdn::V20180606::ParamFilterRule

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(key = nil, values = nil, returncode = nil) ⇒ ParamFilterRule

Returns a new instance of ParamFilterRule.



10597
10598
10599
10600
10601
# File 'lib/v20180606/models.rb', line 10597

def initialize(key=nil, values=nil, returncode=nil)
  @Key = key
  @Values = values
  @ReturnCode = returncode
end

Instance Attribute Details

#KeyObject

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

Parameters:

  • Key:

    参数名

  • Values:

    参数值数组, 小于10个

  • ReturnCode:

    http 返回码 ( 暂仅支持403)



10595
10596
10597
# File 'lib/v20180606/models.rb', line 10595

def Key
  @Key
end

#ReturnCodeObject

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

Parameters:

  • Key:

    参数名

  • Values:

    参数值数组, 小于10个

  • ReturnCode:

    http 返回码 ( 暂仅支持403)



10595
10596
10597
# File 'lib/v20180606/models.rb', line 10595

def ReturnCode
  @ReturnCode
end

#ValuesObject

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

Parameters:

  • Key:

    参数名

  • Values:

    参数值数组, 小于10个

  • ReturnCode:

    http 返回码 ( 暂仅支持403)



10595
10596
10597
# File 'lib/v20180606/models.rb', line 10595

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



10603
10604
10605
10606
10607
# File 'lib/v20180606/models.rb', line 10603

def deserialize(params)
  @Key = params['Key']
  @Values = params['Values']
  @ReturnCode = params['ReturnCode']
end