Class PluginListPageResponse.Builder
-
- All Implemented Interfaces:
public final class PluginListPageResponse.BuilderA builder for PluginListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final PluginListPageResponse.Builder data(List<BetaPlugin> data)
-
data
final PluginListPageResponse.Builder data(JsonField<List<BetaPlugin>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<BetaPlugin>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextPage
final PluginListPageResponse.Builder nextPage(String nextPage)
Token to provide in as
pagein the subsequent request to retrieve the next page of data. A page may hold fewer thanlimitPlugins, even none, while this is set; keep following it until it is null.
-
nextPage
final PluginListPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final PluginListPageResponse.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 PluginListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addData
final PluginListPageResponse.Builder addData(BetaPlugin data)
Adds a single BetaPlugin to Builder.data.
-
putAdditionalProperty
final PluginListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PluginListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PluginListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PluginListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PluginListPageResponse build()
Returns an immutable instance of PluginListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .nextPage()
-
-
-
-