Class IncreaseRequestApproveResponse
-
- All Implemented Interfaces:
public final class IncreaseRequestApproveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classIncreaseRequestApproveResponse.BuilderA builder for IncreaseRequestApproveResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()final BetaSpendLimitIncreaseRequestActoractor()Who submitted the increase request. final OffsetDateTimecreatedAt()final BetaSpendLimitPeriodperiod()final Optional<OffsetDateTime>resolvedAt()final Optional<BetaSpendLimitIncreaseRequestResolvedBy>resolvedBy()Who approved or denied the increase request. final Optional<BetaSpendLimit>spendLimit()A configured spend limit: a cap on metered spend for one scope and period. final Optional<BetaSpendSummary>spendSummary()Per-member effective-limit report row ( GET /spend_limits/effective).final BetaSpendLimitIncreaseRequestStatusstatus()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("spend_limit_increase_request")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BetaSpendLimitIncreaseRequestActor>_actor()Returns the raw JSON value of actor. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<BetaSpendLimitPeriod>_period()Returns the raw JSON value of period. final JsonField<OffsetDateTime>_resolvedAt()Returns the raw JSON value of resolvedAt. final JsonField<BetaSpendLimitIncreaseRequestResolvedBy>_resolvedBy()Returns the raw JSON value of resolvedBy. final JsonField<BetaSpendLimit>_spendLimit()Returns the raw JSON value of spendLimit. final JsonField<BetaSpendSummary>_spendSummary()Returns the raw JSON value of spendSummary. final JsonField<BetaSpendLimitIncreaseRequestStatus>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final IncreaseRequestApproveResponse.BuildertoBuilder()final IncreaseRequestApproveResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static IncreaseRequestApproveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of IncreaseRequestApproveResponse. -
-
Method Detail
-
actor
final BetaSpendLimitIncreaseRequestActor actor()
Who submitted the increase request.
-
createdAt
final OffsetDateTime createdAt()
-
period
final BetaSpendLimitPeriod period()
-
resolvedAt
final Optional<OffsetDateTime> resolvedAt()
-
resolvedBy
final Optional<BetaSpendLimitIncreaseRequestResolvedBy> resolvedBy()
Who approved or denied the increase request.
-
spendLimit
final Optional<BetaSpendLimit> spendLimit()
A configured spend limit: a cap on metered spend for one scope and period.
-
spendSummary
final Optional<BetaSpendSummary> spendSummary()
Per-member effective-limit report row (
GET /spend_limits/effective).
-
status
final BetaSpendLimitIncreaseRequestStatus status()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("spend_limit_increase_request")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_actor
final JsonField<BetaSpendLimitIncreaseRequestActor> _actor()
Returns the raw JSON value of actor.
Unlike actor, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_period
final JsonField<BetaSpendLimitPeriod> _period()
Returns the raw JSON value of period.
Unlike period, this method doesn't throw if the JSON field has an unexpected type.
-
_resolvedAt
final JsonField<OffsetDateTime> _resolvedAt()
Returns the raw JSON value of resolvedAt.
Unlike resolvedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_resolvedBy
final JsonField<BetaSpendLimitIncreaseRequestResolvedBy> _resolvedBy()
Returns the raw JSON value of resolvedBy.
Unlike resolvedBy, this method doesn't throw if the JSON field has an unexpected type.
-
_spendLimit
final JsonField<BetaSpendLimit> _spendLimit()
Returns the raw JSON value of spendLimit.
Unlike spendLimit, this method doesn't throw if the JSON field has an unexpected type.
-
_spendSummary
final JsonField<BetaSpendSummary> _spendSummary()
Returns the raw JSON value of spendSummary.
Unlike spendSummary, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<BetaSpendLimitIncreaseRequestStatus> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final IncreaseRequestApproveResponse.Builder toBuilder()
-
validate
final IncreaseRequestApproveResponse 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 IncreaseRequestApproveResponse.Builder builder()
Returns a mutable builder for constructing an instance of IncreaseRequestApproveResponse.
The following fields are required:
.id() .actor() .createdAt() .period() .resolvedAt() .resolvedBy() .spendLimit() .spendSummary() .status()
-
-
-
-