Class EnvironmentListPageResponse
-
- All Implemented Interfaces:
public final class EnvironmentListPageResponseResponse when listing environments.
This response model uses opaque cursor-based pagination. Use the
pagequery parameter with the value fromnext_pageto fetch the next page.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEnvironmentListPageResponse.BuilderA builder for EnvironmentListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<BetaEnvironment>data()List of environments. final Optional<String>nextPage()Token for fetching the next page of results. final JsonField<List<BetaEnvironment>>_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 EnvironmentListPageResponse.BuildertoBuilder()final EnvironmentListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EnvironmentListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of EnvironmentListPageResponse. -
-
Method Detail
-
data
final List<BetaEnvironment> data()
List of environments.
-
nextPage
final Optional<String> nextPage()
Token for fetching the next page of results. If
null, there are no more results available. Pass this value to thepageparameter in the next request.
-
_data
final JsonField<List<BetaEnvironment>> _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 EnvironmentListPageResponse.Builder toBuilder()
-
validate
final EnvironmentListPageResponse 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 EnvironmentListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of EnvironmentListPageResponse.
The following fields are required:
.data() .nextPage()
-
-
-
-