Class GroupListPageResponse.Builder
-
- All Implemented Interfaces:
public final class GroupListPageResponse.BuilderA builder for GroupListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final GroupListPageResponse.Builder data(List<Group> data)
Groups returned in the current page.
-
data
final GroupListPageResponse.Builder data(JsonField<List<Group>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<Group>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final GroupListPageResponse.Builder addData(Group data)
Adds a single Group to Builder.data.
-
hasMore
final GroupListPageResponse.Builder hasMore(Boolean hasMore)
Whether additional groups are available when paginating.
-
hasMore
final GroupListPageResponse.Builder hasMore(JsonField<Boolean> hasMore)
Sets Builder.hasMore to an arbitrary JSON value.
You should usually call Builder.hasMore with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
next
final GroupListPageResponse.Builder next(String next)
Cursor to fetch the next page of results, or
nullif there are no more results.
-
next
final GroupListPageResponse.Builder next(Optional<String> next)
Alias for calling Builder.next with
next.orElse(null).
-
next
final GroupListPageResponse.Builder next(JsonField<String> next)
Sets Builder.next to an arbitrary JSON value.
You should usually call Builder.next with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final GroupListPageResponse.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("list")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final GroupListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final GroupListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final GroupListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final GroupListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final GroupListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final GroupListPageResponse build()
Returns an immutable instance of GroupListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .hasMore() .next()
-
-
-
-