Class SpendAlertListPageResponse
-
- All Implemented Interfaces:
public final class SpendAlertListPageResponsePaginated list of project spend alerts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSpendAlertListPageResponse.BuilderA builder for SpendAlertListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<ProjectSpendAlert>data()Spend alerts returned in the current page. final Optional<String>firstId()The ID of the first spend alert in this page. final BooleanhasMore()Whether more spend alerts are available when paginating. final Optional<String>lastId()The ID of the last spend alert in this page. final JsonValue_object_()Always list.final JsonField<List<ProjectSpendAlert>>_data()Returns the raw JSON value of data. final JsonField<String>_firstId()Returns the raw JSON value of firstId. final JsonField<Boolean>_hasMore()Returns the raw JSON value of hasMore. final JsonField<String>_lastId()Returns the raw JSON value of lastId. final Map<String, JsonValue>_additionalProperties()final SpendAlertListPageResponse.BuildertoBuilder()final SpendAlertListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SpendAlertListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of SpendAlertListPageResponse. -
-
Method Detail
-
data
final List<ProjectSpendAlert> data()
Spend alerts returned in the current page.
-
_object_
final JsonValue _object_()
Always
list.Expected 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<ProjectSpendAlert>> _data()
Returns the raw JSON value of data.
Unlike data, 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.
-
_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.
-
_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 SpendAlertListPageResponse.Builder toBuilder()
-
validate
final SpendAlertListPageResponse 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 SpendAlertListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of SpendAlertListPageResponse.
The following fields are required:
.data() .firstId() .hasMore() .lastId()
-
-
-
-