Class: TencentCloud::Waf::V20180125::LimitHeaderName

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

Overview

限流Header参数名

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paramsname = nil, type = nil) ⇒ LimitHeaderName

Returns a new instance of LimitHeaderName.



13077
13078
13079
13080
# File 'lib/v20180125/models.rb', line 13077

def initialize(paramsname=nil, type=nil)
  @ParamsName = paramsname
  @Type = type
end

Instance Attribute Details

#ParamsNameObject

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

Parameters:

  • ParamsName:

    参数名

  • Type:

    操作符号,支持REGEX(正则),IN(属于),NOT_IN(不属于), EACH(每个参数值)



13075
13076
13077
# File 'lib/v20180125/models.rb', line 13075

def ParamsName
  @ParamsName
end

#TypeObject

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

Parameters:

  • ParamsName:

    参数名

  • Type:

    操作符号,支持REGEX(正则),IN(属于),NOT_IN(不属于), EACH(每个参数值)



13075
13076
13077
# File 'lib/v20180125/models.rb', line 13075

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



13082
13083
13084
13085
# File 'lib/v20180125/models.rb', line 13082

def deserialize(params)
  @ParamsName = params['ParamsName']
  @Type = params['Type']
end