Class PageInfo.Builder
-
- All Implemented Interfaces:
public final class PageInfo.BuilderA builder for PageInfo.
-
-
Method Summary
Modifier and Type Method Description final PageInfo.Builder_typename(String _typename)The typename of the schema. final PageInfo.Builder_typename(JsonField<String> _typename)Sets Builder._typename to an arbitrary JSON value. final PageInfo.BuilderpageSize(Long pageSize)The number of items per page. final PageInfo.BuilderpageSize(JsonField<Long> pageSize)Sets Builder.pageSize to an arbitrary JSON value. final PageInfo.Builderafter(String after)The cursor to fetch entries after. final PageInfo.Builderafter(Optional<String> after)Alias for calling Builder.after with after.orElse(null).final PageInfo.Builderafter(JsonField<String> after)Sets Builder.after to an arbitrary JSON value. final PageInfo.Builderbefore(String before)The cursor to fetch entries before. final PageInfo.Builderbefore(Optional<String> before)Alias for calling Builder.before with before.orElse(null).final PageInfo.Builderbefore(JsonField<String> before)Sets Builder.before to an arbitrary JSON value. final PageInfo.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final PageInfo.BuilderputAdditionalProperty(String key, JsonValue value)final PageInfo.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final PageInfo.BuilderremoveAdditionalProperty(String key)final PageInfo.BuilderremoveAllAdditionalProperties(Set<String> keys)final PageInfobuild()Returns an immutable instance of PageInfo. -
-
Method Detail
-
_typename
final PageInfo.Builder _typename(String _typename)
The typename of the schema.
-
_typename
final PageInfo.Builder _typename(JsonField<String> _typename)
Sets Builder._typename to an arbitrary JSON value.
You should usually call Builder._typename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pageSize
final PageInfo.Builder pageSize(Long pageSize)
The number of items per page.
-
pageSize
final PageInfo.Builder pageSize(JsonField<Long> pageSize)
Sets Builder.pageSize to an arbitrary JSON value.
You should usually call Builder.pageSize with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
after
final PageInfo.Builder after(String after)
The cursor to fetch entries after.
-
after
final PageInfo.Builder after(Optional<String> after)
Alias for calling Builder.after with
after.orElse(null).
-
after
final PageInfo.Builder after(JsonField<String> after)
Sets Builder.after to an arbitrary JSON value.
You should usually call Builder.after with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
before
final PageInfo.Builder before(String before)
The cursor to fetch entries before.
-
before
final PageInfo.Builder before(Optional<String> before)
Alias for calling Builder.before with
before.orElse(null).
-
before
final PageInfo.Builder before(JsonField<String> before)
Sets Builder.before to an arbitrary JSON value.
You should usually call Builder.before with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PageInfo.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PageInfo.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PageInfo.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PageInfo.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PageInfo.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-