Class: TencentCloud::Tdcpg::V20211118::Filter

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

Overview

过滤条件

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Filter.



1041
1042
1043
1044
1045
# File 'lib/v20211118/models.rb', line 1041

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

Instance Attribute Details

#ExactMatchObject

Parameters:

  • Name:

    过滤条件名

  • Values:

    过滤条件值数组

  • ExactMatch:

    true:精确匹配(默认值) false:(模糊匹配)



1039
1040
1041
# File 'lib/v20211118/models.rb', line 1039

def ExactMatch
  @ExactMatch
end

#NameObject

Parameters:

  • Name:

    过滤条件名

  • Values:

    过滤条件值数组

  • ExactMatch:

    true:精确匹配(默认值) false:(模糊匹配)



1039
1040
1041
# File 'lib/v20211118/models.rb', line 1039

def Name
  @Name
end

#ValuesObject

Parameters:

  • Name:

    过滤条件名

  • Values:

    过滤条件值数组

  • ExactMatch:

    true:精确匹配(默认值) false:(模糊匹配)



1039
1040
1041
# File 'lib/v20211118/models.rb', line 1039

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



1047
1048
1049
1050
1051
# File 'lib/v20211118/models.rb', line 1047

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