Class ResourceListPageResponse
-
- All Implemented Interfaces:
public final class ResourceListPageResponsePaginated list of resources attached to a session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResourceListPageResponse.BuilderA builder for ResourceListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<BetaManagedAgentsSessionResource>data()Resources for the session, ordered by created_at.final Optional<String>nextPage()Opaque cursor for the next page. final JsonField<List<BetaManagedAgentsSessionResource>>_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 ResourceListPageResponse.BuildertoBuilder()final ResourceListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResourceListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of ResourceListPageResponse. -
-
Method Detail
-
data
final List<BetaManagedAgentsSessionResource> data()
Resources for the session, ordered by
created_at.
-
nextPage
final Optional<String> nextPage()
Opaque cursor for the next page. Null when no more results.
-
_data
final JsonField<List<BetaManagedAgentsSessionResource>> _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 ResourceListPageResponse.Builder toBuilder()
-
validate
final ResourceListPageResponse 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 ResourceListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of ResourceListPageResponse.
The following fields are required:
.data()
-
-
-
-