Class: TencentCloud::Tione::V20211111::Filter

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

Overview

过滤器

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, values = nil, negative = nil, fuzzy = nil) ⇒ Filter

Returns a new instance of Filter.



4421
4422
4423
4424
4425
4426
# File 'lib/v20211111/models.rb', line 4421

def initialize(name=nil, values=nil, negative=nil, fuzzy=nil)
  @Name = name
  @Values = values
  @Negative = negative
  @Fuzzy = fuzzy
end

Instance Attribute Details

#FuzzyObject

Parameters:

  • Name:

    过滤字段名称

  • Values:

    过滤字段取值

  • Negative:

    是否开启反向查询

  • Fuzzy:

    是否开启模糊匹配



4419
4420
4421
# File 'lib/v20211111/models.rb', line 4419

def Fuzzy
  @Fuzzy
end

#NameObject

Parameters:

  • Name:

    过滤字段名称

  • Values:

    过滤字段取值

  • Negative:

    是否开启反向查询

  • Fuzzy:

    是否开启模糊匹配



4419
4420
4421
# File 'lib/v20211111/models.rb', line 4419

def Name
  @Name
end

#NegativeObject

Parameters:

  • Name:

    过滤字段名称

  • Values:

    过滤字段取值

  • Negative:

    是否开启反向查询

  • Fuzzy:

    是否开启模糊匹配



4419
4420
4421
# File 'lib/v20211111/models.rb', line 4419

def Negative
  @Negative
end

#ValuesObject

Parameters:

  • Name:

    过滤字段名称

  • Values:

    过滤字段取值

  • Negative:

    是否开启反向查询

  • Fuzzy:

    是否开启模糊匹配



4419
4420
4421
# File 'lib/v20211111/models.rb', line 4419

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



4428
4429
4430
4431
4432
4433
# File 'lib/v20211111/models.rb', line 4428

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