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