Class: TencentCloud::Tdmq::V20200217::Filter

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

Overview

过滤参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Filter.



8171
8172
8173
8174
# File 'lib/v20200217/models.rb', line 8171

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    过滤参数的名字

  • Values:

    数值



8169
8170
8171
# File 'lib/v20200217/models.rb', line 8169

def Name
  @Name
end

#ValuesObject

Parameters:

  • Name:

    过滤参数的名字

  • Values:

    数值



8169
8170
8171
# File 'lib/v20200217/models.rb', line 8169

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



8176
8177
8178
8179
# File 'lib/v20200217/models.rb', line 8176

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