Class: TencentCloud::Waf::V20180125::PageInfo

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

Overview

公共翻页参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagenumber = nil, pagesize = nil) ⇒ PageInfo

Returns a new instance of PageInfo.



11609
11610
11611
11612
# File 'lib/v20180125/models.rb', line 11609

def initialize(pagenumber=nil, pagesize=nil)
  @PageNumber = pagenumber
  @PageSize = pagesize
end

Instance Attribute Details

#PageNumberObject

Parameters:

  • PageNumber:

    页码

  • PageSize:

    页条目数量



11607
11608
11609
# File 'lib/v20180125/models.rb', line 11607

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • PageNumber:

    页码

  • PageSize:

    页条目数量



11607
11608
11609
# File 'lib/v20180125/models.rb', line 11607

def PageSize
  @PageSize
end

Instance Method Details

#deserialize(params) ⇒ Object



11614
11615
11616
11617
# File 'lib/v20180125/models.rb', line 11614

def deserialize(params)
  @PageNumber = params['PageNumber']
  @PageSize = params['PageSize']
end