Class ActivityListPageResponse.Builder
-
- All Implemented Interfaces:
public final class ActivityListPageResponse.BuilderA builder for ActivityListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
items
final ActivityListPageResponse.Builder items(List<Activity> items)
A list of activities.
-
items
final ActivityListPageResponse.Builder items(JsonField<List<Activity>> items)
Sets Builder.items to an arbitrary JSON value.
You should usually call Builder.items with a well-typed
List<Activity>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addItem
final ActivityListPageResponse.Builder addItem(Activity item)
-
pageInfo
final ActivityListPageResponse.Builder pageInfo(PageInfo pageInfo)
Pagination information for a list of resources.
-
pageInfo
final ActivityListPageResponse.Builder pageInfo(JsonField<PageInfo> pageInfo)
Sets Builder.pageInfo to an arbitrary JSON value.
You should usually call Builder.pageInfo with a well-typed PageInfo value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ActivityListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ActivityListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ActivityListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ActivityListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ActivityListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ActivityListPageResponse build()
Returns an immutable instance of ActivityListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.items() .pageInfo()
-
-
-
-