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.



2409
2410
2411
2412
2413
# File 'lib/v20210622/models.rb', line 2409

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过滤方式用逗号分割多个值



2407
2408
2409
# File 'lib/v20210622/models.rb', line 2407

def Key
  @Key
end

#TypeObject

Parameters:

  • Type:

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

  • Key:

    过滤维度名

  • Value:

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



2407
2408
2409
# File 'lib/v20210622/models.rb', line 2407

def Type
  @Type
end

#ValueObject

Parameters:

  • Type:

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

  • Key:

    过滤维度名

  • Value:

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



2407
2408
2409
# File 'lib/v20210622/models.rb', line 2407

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



2415
2416
2417
2418
2419
# File 'lib/v20210622/models.rb', line 2415

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