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