Class: TencentCloud::Waf::V20180125::BotSceneMatchCondition

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

Overview

场景匹配条件

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, op = nil, value = nil, name = nil, valuearray = nil) ⇒ BotSceneMatchCondition

Returns a new instance of BotSceneMatchCondition.



2525
2526
2527
2528
2529
2530
2531
# File 'lib/v20180125/models.rb', line 2525

def initialize(key=nil, op=nil, value=nil, name=nil, valuearray=nil)
  @Key = key
  @Op = op
  @Value = value
  @Name = name
  @ValueArray = valuearray
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    匹配参数

  • Op:

    匹配符

  • Value:

    匹配值

  • Name:

    对于头部字段匹配value的时候指定的头部名

  • ValueArray:

    470后使用此入参存在多值



2523
2524
2525
# File 'lib/v20180125/models.rb', line 2523

def Key
  @Key
end

#NameObject

Parameters:

  • Key:

    匹配参数

  • Op:

    匹配符

  • Value:

    匹配值

  • Name:

    对于头部字段匹配value的时候指定的头部名

  • ValueArray:

    470后使用此入参存在多值



2523
2524
2525
# File 'lib/v20180125/models.rb', line 2523

def Name
  @Name
end

#OpObject

Parameters:

  • Key:

    匹配参数

  • Op:

    匹配符

  • Value:

    匹配值

  • Name:

    对于头部字段匹配value的时候指定的头部名

  • ValueArray:

    470后使用此入参存在多值



2523
2524
2525
# File 'lib/v20180125/models.rb', line 2523

def Op
  @Op
end

#ValueObject

Parameters:

  • Key:

    匹配参数

  • Op:

    匹配符

  • Value:

    匹配值

  • Name:

    对于头部字段匹配value的时候指定的头部名

  • ValueArray:

    470后使用此入参存在多值



2523
2524
2525
# File 'lib/v20180125/models.rb', line 2523

def Value
  @Value
end

#ValueArrayObject

Parameters:

  • Key:

    匹配参数

  • Op:

    匹配符

  • Value:

    匹配值

  • Name:

    对于头部字段匹配value的时候指定的头部名

  • ValueArray:

    470后使用此入参存在多值



2523
2524
2525
# File 'lib/v20180125/models.rb', line 2523

def ValueArray
  @ValueArray
end

Instance Method Details

#deserialize(params) ⇒ Object



2533
2534
2535
2536
2537
2538
2539
# File 'lib/v20180125/models.rb', line 2533

def deserialize(params)
  @Key = params['Key']
  @Op = params['Op']
  @Value = params['Value']
  @Name = params['Name']
  @ValueArray = params['ValueArray']
end