Class InviteListPageResponse
-
- All Implemented Interfaces:
public final class InviteListPageResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInviteListPageResponse.BuilderA builder for InviteListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<Invite>data()final BooleanhasMore()The has_moreproperty is used for pagination to indicate there are additional results.final JsonValue_object_()The object type, which is always listExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("list")final Optional<String>firstId()The first invite_idin the retrievedlistfinal Optional<String>lastId()The last invite_idin the retrievedlistfinal JsonField<List<Invite>>_data()Returns the raw JSON value of data. final JsonField<Boolean>_hasMore()Returns the raw JSON value of hasMore. final JsonField<String>_firstId()Returns the raw JSON value of firstId. final JsonField<String>_lastId()Returns the raw JSON value of lastId. final Map<String, JsonValue>_additionalProperties()final InviteListPageResponse.BuildertoBuilder()final InviteListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InviteListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of InviteListPageResponse. -
-
Method Detail
-
hasMore
final Boolean hasMore()
The
has_moreproperty is used for pagination to indicate there are additional results.
-
_object_
final JsonValue _object_()
The object type, which is always
listExpected to always return the following:
JsonValue.from("list")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_data
final JsonField<List<Invite>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_hasMore
final JsonField<Boolean> _hasMore()
Returns the raw JSON value of hasMore.
Unlike hasMore, this method doesn't throw if the JSON field has an unexpected type.
-
_firstId
final JsonField<String> _firstId()
Returns the raw JSON value of firstId.
Unlike firstId, this method doesn't throw if the JSON field has an unexpected type.
-
_lastId
final JsonField<String> _lastId()
Returns the raw JSON value of lastId.
Unlike lastId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InviteListPageResponse.Builder toBuilder()
-
validate
final InviteListPageResponse 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 InviteListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of InviteListPageResponse.
The following fields are required:
.data() .hasMore()
-
-
-
-