Class: TencentCloud::Mongodb::V20190725::LogFilter

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

Overview

过滤条件

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, compare = nil, value = nil) ⇒ LogFilter

Returns a new instance of LogFilter.



4603
4604
4605
4606
4607
# File 'lib/v20190725/models.rb', line 4603

def initialize(type=nil, compare=nil, value=nil)
  @Type = type
  @Compare = compare
  @Value = value
end

Instance Attribute Details

#CompareObject

Parameters:

  • Type:

    过滤条件名称

  • Compare:

    过滤条件匹配类型,注意:此参数取值只能等于EQ

  • Value:

    过滤条件匹配值



4601
4602
4603
# File 'lib/v20190725/models.rb', line 4601

def Compare
  @Compare
end

#TypeObject

Parameters:

  • Type:

    过滤条件名称

  • Compare:

    过滤条件匹配类型,注意:此参数取值只能等于EQ

  • Value:

    过滤条件匹配值



4601
4602
4603
# File 'lib/v20190725/models.rb', line 4601

def Type
  @Type
end

#ValueObject

Parameters:

  • Type:

    过滤条件名称

  • Compare:

    过滤条件匹配类型,注意:此参数取值只能等于EQ

  • Value:

    过滤条件匹配值



4601
4602
4603
# File 'lib/v20190725/models.rb', line 4601

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4609
4610
4611
4612
4613
# File 'lib/v20190725/models.rb', line 4609

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