Class: TencentCloud::Apm::V20210622::Filter

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

Overview

查询过滤参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, key = nil, value = nil) ⇒ Filter

Returns a new instance of Filter.



2973
2974
2975
2976
2977
# File 'lib/v20210622/models.rb', line 2973

def initialize(type=nil, key=nil, value=nil)
  @Type = type
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Type:

    过滤方式(=, !=, in)

  • Key:

    过滤维度名

  • Value:

    过滤值,in过滤方式用逗号分割多个值



2971
2972
2973
# File 'lib/v20210622/models.rb', line 2971

def Key
  @Key
end

#TypeObject

Parameters:

  • Type:

    过滤方式(=, !=, in)

  • Key:

    过滤维度名

  • Value:

    过滤值,in过滤方式用逗号分割多个值



2971
2972
2973
# File 'lib/v20210622/models.rb', line 2971

def Type
  @Type
end

#ValueObject

Parameters:

  • Type:

    过滤方式(=, !=, in)

  • Key:

    过滤维度名

  • Value:

    过滤值,in过滤方式用逗号分割多个值



2971
2972
2973
# File 'lib/v20210622/models.rb', line 2971

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



2979
2980
2981
2982
2983
# File 'lib/v20210622/models.rb', line 2979

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