Class TunnelListPageResponse
-
- All Implemented Interfaces:
public final class TunnelListPageResponseA paginated list of tunnels.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTunnelListPageResponse.BuilderA builder for TunnelListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<BetaTunnel>data()List of tunnels, ordered by created_at descending. final Optional<String>nextPage()Pagination cursor for the next page, or null if no more results. final JsonField<List<BetaTunnel>>_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 TunnelListPageResponse.BuildertoBuilder()final TunnelListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TunnelListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of TunnelListPageResponse. -
-
Method Detail
-
data
final List<BetaTunnel> data()
List of tunnels, ordered by created_at descending.
-
nextPage
final Optional<String> nextPage()
Pagination cursor for the next page, or null if no more results.
-
_data
final JsonField<List<BetaTunnel>> _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 TunnelListPageResponse.Builder toBuilder()
-
validate
final TunnelListPageResponse 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 TunnelListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of TunnelListPageResponse.
The following fields are required:
.data() .nextPage()
-
-
-
-