Class ThreadListPageResponse
-
- All Implemented Interfaces:
public final class ThreadListPageResponsePaginated list of threads within a
session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadListPageResponse.BuilderA builder for ThreadListPageResponse.
-
Method Summary
Modifier and Type Method Description final Optional<List<BetaManagedAgentsSessionThread>>data()Threads in the session, primary first then children in spawn order. final Optional<String>nextPage()Opaque cursor for the next page. final JsonField<List<BetaManagedAgentsSessionThread>>_data()Returns the raw JSON value of data. final JsonField<String>_nextPage()Returns the raw JSON value of nextPage. final Map<String, JsonValue>_additionalProperties()final ThreadListPageResponse.BuildertoBuilder()final ThreadListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThreadListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of ThreadListPageResponse. -
-
Method Detail
-
data
final Optional<List<BetaManagedAgentsSessionThread>> data()
Threads in the session, primary first then children in spawn order.
-
nextPage
final Optional<String> nextPage()
Opaque cursor for the next page. Null when no more results.
-
_data
final JsonField<List<BetaManagedAgentsSessionThread>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_nextPage
final JsonField<String> _nextPage()
Returns the raw JSON value of nextPage.
Unlike nextPage, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ThreadListPageResponse.Builder toBuilder()
-
validate
final ThreadListPageResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ThreadListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of ThreadListPageResponse.
-
-
-
-