Class SummaryListPageResponse.Builder
-
- All Implemented Interfaces:
public final class SummaryListPageResponse.BuilderA builder for SummaryListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final SummaryListPageResponse.Builder data(List<AnalyticsSingleDayActivitySummary> data)
One entry per day in the requested range, ascending by date.
-
data
final SummaryListPageResponse.Builder data(JsonField<List<AnalyticsSingleDayActivitySummary>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<AnalyticsSingleDayActivitySummary>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextPage
final SummaryListPageResponse.Builder nextPage(String nextPage)
Opaque cursor for the next page, or null if no more results. Currently always null: the day series is returned in full.
-
nextPage
final SummaryListPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final SummaryListPageResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage 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 SummaryListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addData
final SummaryListPageResponse.Builder addData(AnalyticsSingleDayActivitySummary data)
Adds a single AnalyticsSingleDayActivitySummary to Builder.data.
-
putAdditionalProperty
final SummaryListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SummaryListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SummaryListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SummaryListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SummaryListPageResponse build()
Returns an immutable instance of SummaryListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .nextPage()
-
-
-
-