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.



7950
7951
7952
7953
7954
# File 'lib/v20180606/models.rb', line 7950

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)



7948
7949
7950
# File 'lib/v20180606/models.rb', line 7948

def Key
  @Key
end

#ReturnCodeObject

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

Parameters:

  • Key:

    参数名

  • Values:

    参数值数组, 小于10个

  • ReturnCode:

    http 返回码 ( 暂仅支持403)



7948
7949
7950
# File 'lib/v20180606/models.rb', line 7948

def ReturnCode
  @ReturnCode
end

#ValuesObject

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

Parameters:

  • Key:

    参数名

  • Values:

    参数值数组, 小于10个

  • ReturnCode:

    http 返回码 ( 暂仅支持403)



7948
7949
7950
# File 'lib/v20180606/models.rb', line 7948

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



7956
7957
7958
7959
7960
# File 'lib/v20180606/models.rb', line 7956

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