Package com.courier.models.journeys
Class JourneysListResponse
-
- All Implemented Interfaces:
public final class JourneysListResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneysListResponse.BuilderA builder for JourneysListResponse.
-
Method Summary
Modifier and Type Method Description final Optional<String>cursor()A cursor token for pagination. final Optional<List<Journey>>templates()final JsonField<String>_cursor()Returns the raw JSON value of cursor. final JsonField<List<Journey>>_templates()Returns the raw JSON value of templates. final Map<String, JsonValue>_additionalProperties()final JourneysListResponse.BuildertoBuilder()final JourneysListResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneysListResponse.Builderbuilder()Returns a mutable builder for constructing an instance of JourneysListResponse. -
-
Method Detail
-
cursor
final Optional<String> cursor()
A cursor token for pagination. Present when there are more results available.
-
_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.
-
_templates
final JsonField<List<Journey>> _templates()
Returns the raw JSON value of templates.
Unlike templates, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneysListResponse.Builder toBuilder()
-
validate
final JourneysListResponse validate()
-
builder
final static JourneysListResponse.Builder builder()
Returns a mutable builder for constructing an instance of JourneysListResponse.
-
-
-
-