TokenPaginationResponseHeaders class abstract
The Link
HTTP header contains multiple links (first
, next
, last
, previous
) formatted as: <https://{project-slug}.projects.oryapis.com/admin/clients?page_size={limit}&page_token={offset}>; rel=\"{page}\"
For details on pagination please head over to the pagination documentation.
Properties:
- link - The Link HTTP Header The
Link
header contains a comma-delimited list of links to the following pages: first: The first page of results. next: The next page of results. prev: The previous page of results. last: The last page of results. Pages are omitted if they do not exist. For example, if there is no next page, thenext
link is omitted. Examples: </clients?page_size=5&page_token=0>; rel="first",</clients?page_size=5&page_token=15>; rel="next",</clients?page_size=5&page_token=5>; rel="prev",</clients?page_size=5&page_token=20>; rel="last" - xTotalCount - The X-Total-Count HTTP Header The
X-Total-Count
header contains the total number of items in the collection.
- Annotations
-
- @BuiltValue()
Constructors
- TokenPaginationResponseHeaders([void updates(dynamic b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- link → String?
-
The Link HTTP Header The
Link
header contains a comma-delimited list of links to the following pages: first: The first page of results. next: The next page of results. prev: The previous page of results. last: The last page of results. Pages are omitted if they do not exist. For example, if there is no next page, thenext
link is omitted. Examples: </clients?page_size=5&page_token=0>; rel="first",</clients?page_size=5&page_token=15>; rel="next",</clients?page_size=5&page_token=5>; rel="prev",</clients?page_size=5&page_token=20>; rel="last"no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- xTotalCount → int?
-
The X-Total-Count HTTP Header The
X-Total-Count
header contains the total number of items in the collection.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(dynamic)) → TokenPaginationResponseHeaders -
Rebuilds the instance.
inherited
-
toBuilder(
) → dynamic -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
TokenPaginationResponseHeaders> -
no setter