Class: TencentCloud::Tke::V20220501::Filter

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220501/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.



936
937
938
939
# File 'lib/v20220501/models.rb', line 936

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。

  • Values:

    属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。



934
935
936
# File 'lib/v20220501/models.rb', line 934

def Name
  @Name
end

#ValuesObject

Parameters:

  • Name:

    属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。

  • Values:

    属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。



934
935
936
# File 'lib/v20220501/models.rb', line 934

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



941
942
943
944
# File 'lib/v20220501/models.rb', line 941

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