Table of Contents

Class CursorQuery

public class CursorQuery : Query
Inheritance
CursorQuery
Inherited Members
Extension Methods

Constructors

CursorQuery(int?, QueryOrder?, string, string)

public CursorQuery(int? size = null, QueryOrder? order = null, string after = null, string before = null)

Parameters

size int?
order QueryOrder?
after string
before string

Properties

After

Optional. A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.

public string After { get; set; }

Property Value

string

Before

Optional. A cursor for use in pagination. Before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include Before=obj_foo in order to fetch the previous page of the list.

public string Before { get; set; }

Property Value

string

Order

[Optional] Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.

public QueryOrder? Order { get; set; }

Property Value

QueryOrder?