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