Package com.courier.models
Class Paging
-
- All Implemented Interfaces:
public final class Paging
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPaging.BuilderA builder for Paging.
-
Method Summary
Modifier and Type Method Description final Booleanmore()final Optional<String>cursor()final JsonField<Boolean>_more()Returns the raw JSON value of more. final JsonField<String>_cursor()Returns the raw JSON value of cursor. final Map<String, JsonValue>_additionalProperties()final Paging.BuildertoBuilder()final Pagingvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Paging.Builderbuilder()Returns a mutable builder for constructing an instance of Paging. -
-
Method Detail
-
_more
final JsonField<Boolean> _more()
Returns the raw JSON value of more.
Unlike more, this method doesn't throw if the JSON field has an unexpected type.
-
_cursor
final JsonField<String> _cursor()
Returns the raw JSON value of cursor.
Unlike cursor, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Paging.Builder toBuilder()
-
validate
final Paging 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 Paging.Builder builder()
Returns a mutable builder for constructing an instance of Paging.
The following fields are required:
.more()
-
-
-
-