Package app.knock.api.models.shared
Class PageInfo
-
- All Implemented Interfaces:
public final class PageInfoPagination information for a list of resources.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPageInfo.BuilderA builder for PageInfo.
-
Method Summary
Modifier and Type Method Description final String_typename()The typename of the schema. final LongpageSize()The number of items per page. final Optional<String>after()The cursor to fetch entries after. final Optional<String>before()The cursor to fetch entries before. final JsonField<String>__typename()Returns the raw JSON value of _typename. final JsonField<Long>_pageSize()Returns the raw JSON value of pageSize. final JsonField<String>_after()Returns the raw JSON value of after. final JsonField<String>_before()Returns the raw JSON value of before. final Map<String, JsonValue>_additionalProperties()final PageInfo.BuildertoBuilder()final PageInfovalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PageInfo.Builderbuilder()Returns a mutable builder for constructing an instance of PageInfo. -
-
Method Detail
-
__typename
final JsonField<String> __typename()
Returns the raw JSON value of _typename.
Unlike _typename, this method doesn't throw if the JSON field has an unexpected type.
-
_pageSize
final JsonField<Long> _pageSize()
Returns the raw JSON value of pageSize.
Unlike pageSize, this method doesn't throw if the JSON field has an unexpected type.
-
_after
final JsonField<String> _after()
Returns the raw JSON value of after.
Unlike after, this method doesn't throw if the JSON field has an unexpected type.
-
_before
final JsonField<String> _before()
Returns the raw JSON value of before.
Unlike before, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PageInfo.Builder toBuilder()
-
builder
final static PageInfo.Builder builder()
Returns a mutable builder for constructing an instance of PageInfo.
The following fields are required:
._typename() .pageSize()
-
-
-
-