Class: TencentCloud::Lowcode::V20210108::PageQuery
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lowcode::V20210108::PageQuery
- Defined in:
- lib/v20210108/models.rb
Overview
查询条件
Instance Attribute Summary collapse
-
#DocumentSetId ⇒ Object
取值:为 limit 整数倍。 计算公式:offset=limit*(page-1)。 例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。.
-
#DocumentSetName ⇒ Object
取值:为 limit 整数倍。 计算公式:offset=limit*(page-1)。 例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。.
-
#Filter ⇒ Object
取值:为 limit 整数倍。 计算公式:offset=limit*(page-1)。 例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。.
-
#Limit ⇒ Object
取值:为 limit 整数倍。 计算公式:offset=limit*(page-1)。 例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。.
-
#Offset ⇒ Object
取值:为 limit 整数倍。 计算公式:offset=limit*(page-1)。 例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。.
-
#OutputFields ⇒ Object
取值:为 limit 整数倍。 计算公式:offset=limit*(page-1)。 例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(documentsetid = nil, documentsetname = nil, limit = nil, offset = nil, outputfields = nil, filter = nil) ⇒ PageQuery
constructor
A new instance of PageQuery.
Constructor Details
#initialize(documentsetid = nil, documentsetname = nil, limit = nil, offset = nil, outputfields = nil, filter = nil) ⇒ PageQuery
Returns a new instance of PageQuery.
1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'lib/v20210108/models.rb', line 1446 def initialize(documentsetid=nil, documentsetname=nil, limit=nil, offset=nil, outputfields=nil, filter=nil) @DocumentSetId = documentsetid @DocumentSetName = documentsetname @Limit = limit @Offset = offset @OutputFields = outputfields @Filter = filter end |
Instance Attribute Details
#DocumentSetId ⇒ Object
取值:为 limit 整数倍。计算公式:offset=limit*(page-1)。例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。
1444 1445 1446 |
# File 'lib/v20210108/models.rb', line 1444 def DocumentSetId @DocumentSetId end |
#DocumentSetName ⇒ Object
取值:为 limit 整数倍。计算公式:offset=limit*(page-1)。例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。
1444 1445 1446 |
# File 'lib/v20210108/models.rb', line 1444 def DocumentSetName @DocumentSetName end |
#Filter ⇒ Object
取值:为 limit 整数倍。计算公式:offset=limit*(page-1)。例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。
1444 1445 1446 |
# File 'lib/v20210108/models.rb', line 1444 def Filter @Filter end |
#Limit ⇒ Object
取值:为 limit 整数倍。计算公式:offset=limit*(page-1)。例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。
1444 1445 1446 |
# File 'lib/v20210108/models.rb', line 1444 def Limit @Limit end |
#Offset ⇒ Object
取值:为 limit 整数倍。计算公式:offset=limit*(page-1)。例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。
1444 1445 1446 |
# File 'lib/v20210108/models.rb', line 1444 def Offset @Offset end |
#OutputFields ⇒ Object
取值:为 limit 整数倍。计算公式:offset=limit*(page-1)。例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。
1444 1445 1446 |
# File 'lib/v20210108/models.rb', line 1444 def OutputFields @OutputFields end |
Instance Method Details
#deserialize(params) ⇒ Object
1455 1456 1457 1458 1459 1460 1461 1462 |
# File 'lib/v20210108/models.rb', line 1455 def deserialize(params) @DocumentSetId = params['DocumentSetId'] @DocumentSetName = params['DocumentSetName'] @Limit = params['Limit'] @Offset = params['Offset'] @OutputFields = params['OutputFields'] @Filter = params['Filter'] end |