Class: TencentCloud::Cwp::V20180228::Filter

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

Overview

  • 最多只能有5个Filter
  • 同一个Filter存在多个Values,Values值数量最多不能超过5个。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, values = nil, exactmatch = nil) ⇒ Filter

Returns a new instance of Filter.



29275
29276
29277
29278
29279
# File 'lib/v20180228/models.rb', line 29275

def initialize(name=nil, values=nil, exactmatch=nil)
  @Name = name
  @Values = values
  @ExactMatch = exactmatch
end

Instance Attribute Details

#ExactMatchObject

Parameters:

  • Name:

    过滤键的名称。

  • Values:

    一个或者多个过滤值。

  • ExactMatch:

    模糊搜索



29273
29274
29275
# File 'lib/v20180228/models.rb', line 29273

def ExactMatch
  @ExactMatch
end

#NameObject

Parameters:

  • Name:

    过滤键的名称。

  • Values:

    一个或者多个过滤值。

  • ExactMatch:

    模糊搜索



29273
29274
29275
# File 'lib/v20180228/models.rb', line 29273

def Name
  @Name
end

#ValuesObject

Parameters:

  • Name:

    过滤键的名称。

  • Values:

    一个或者多个过滤值。

  • ExactMatch:

    模糊搜索



29273
29274
29275
# File 'lib/v20180228/models.rb', line 29273

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



29281
29282
29283
29284
29285
# File 'lib/v20180228/models.rb', line 29281

def deserialize(params)
  @Name = params['Name']
  @Values = params['Values']
  @ExactMatch = params['ExactMatch']
end