Class: TencentCloud::Monitor::V20230616::PageByNoParams

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

Overview

分页请求参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(perpage = nil, pageno = nil) ⇒ PageByNoParams

Returns a new instance of PageByNoParams.



90
91
92
93
# File 'lib/v20230616/models.rb', line 90

def initialize(perpage=nil, pageno=nil)
  @PerPage = perpage
  @PageNo = pageno
end

Instance Attribute Details

#PageNoObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PerPage:

    每个分页的数量是多少

  • PageNo:

    第几个分页,从1开始



88
89
90
# File 'lib/v20230616/models.rb', line 88

def PageNo
  @PageNo
end

#PerPageObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PerPage:

    每个分页的数量是多少

  • PageNo:

    第几个分页,从1开始



88
89
90
# File 'lib/v20230616/models.rb', line 88

def PerPage
  @PerPage
end

Instance Method Details

#deserialize(params) ⇒ Object



95
96
97
98
# File 'lib/v20230616/models.rb', line 95

def deserialize(params)
  @PerPage = params['PerPage']
  @PageNo = params['PageNo']
end