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.



7942
7943
7944
7945
7946
# File 'lib/v20180606/models.rb', line 7942

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)



7940
7941
7942
# File 'lib/v20180606/models.rb', line 7940

def Key
  @Key
end

#ReturnCodeObject

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

Parameters:

  • Key:

    参数名

  • Values:

    参数值数组, 小于10个

  • ReturnCode:

    http 返回码 ( 暂仅支持403)



7940
7941
7942
# File 'lib/v20180606/models.rb', line 7940

def ReturnCode
  @ReturnCode
end

#ValuesObject

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

Parameters:

  • Key:

    参数名

  • Values:

    参数值数组, 小于10个

  • ReturnCode:

    http 返回码 ( 暂仅支持403)



7940
7941
7942
# File 'lib/v20180606/models.rb', line 7940

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



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

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