Class: TencentCloud::Gpm::V20200820::DescribeMatchesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::DescribeMatchesRequest
- Defined in:
- lib/v20200820/models.rb
Overview
DescribeMatches请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagenumber = nil, pagesize = nil, searchtype = nil, keyword = nil, tags = nil) ⇒ DescribeMatchesRequest
constructor
A new instance of DescribeMatchesRequest.
Constructor Details
#initialize(pagenumber = nil, pagesize = nil, searchtype = nil, keyword = nil, tags = nil) ⇒ DescribeMatchesRequest
Returns a new instance of DescribeMatchesRequest.
475 476 477 478 479 480 481 |
# File 'lib/v20200820/models.rb', line 475 def initialize(pagenumber=nil, pagesize=nil, searchtype=nil, keyword=nil, =nil) @PageNumber = pagenumber @PageSize = pagesize @SearchType = searchtype @Keyword = keyword @Tags = end |
Instance Attribute Details
#Keyword ⇒ Object
473 474 475 |
# File 'lib/v20200820/models.rb', line 473 def Keyword @Keyword end |
#PageNumber ⇒ Object
473 474 475 |
# File 'lib/v20200820/models.rb', line 473 def PageNumber @PageNumber end |
#PageSize ⇒ Object
473 474 475 |
# File 'lib/v20200820/models.rb', line 473 def PageSize @PageSize end |
#SearchType ⇒ Object
473 474 475 |
# File 'lib/v20200820/models.rb', line 473 def SearchType @SearchType end |
#Tags ⇒ Object
473 474 475 |
# File 'lib/v20200820/models.rb', line 473 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
483 484 485 486 487 488 489 490 491 492 493 494 495 496 |
# File 'lib/v20200820/models.rb', line 483 def deserialize(params) @PageNumber = params['PageNumber'] @PageSize = params['PageSize'] @SearchType = params['SearchType'] @Keyword = params['Keyword'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |