Class SpendLimitIncreaseRequest
-
- All Implemented Interfaces:
public final class SpendLimitIncreaseRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSpendLimitIncreaseRequest.BuilderA builder for SpendLimitIncreaseRequest.
-
Method Summary
Modifier and Type Method Description final Stringid()final SpendLimitIncreaseRequestActoractor()Who submitted the increase request. final OffsetDateTimecreatedAt()final SpendLimitPeriodperiod()final Optional<OffsetDateTime>resolvedAt()final Optional<SpendLimitIncreaseRequestResolvedBy>resolvedBy()Who approved or denied the increase request. final Optional<SpendSummary>spendSummary()Per-member effective-limit report row ( GET /spend_limits/effective).final SpendLimitIncreaseRequestStatusstatus()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<SpendLimitIncreaseRequestActor>_actor()Returns the raw JSON value of actor. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<SpendLimitPeriod>_period()Returns the raw JSON value of period. final JsonField<OffsetDateTime>_resolvedAt()Returns the raw JSON value of resolvedAt. final JsonField<SpendLimitIncreaseRequestResolvedBy>_resolvedBy()Returns the raw JSON value of resolvedBy. final JsonField<SpendSummary>_spendSummary()Returns the raw JSON value of spendSummary. final JsonField<SpendLimitIncreaseRequestStatus>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final SpendLimitIncreaseRequest.BuildertoBuilder()final SpendLimitIncreaseRequestvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SpendLimitIncreaseRequest.Builderbuilder()Returns a mutable builder for constructing an instance of SpendLimitIncreaseRequest. -
-
Method Detail
-
actor
final SpendLimitIncreaseRequestActor actor()
Who submitted the increase request.
-
createdAt
final OffsetDateTime createdAt()
-
period
final SpendLimitPeriod period()
-
resolvedAt
final Optional<OffsetDateTime> resolvedAt()
-
resolvedBy
final Optional<SpendLimitIncreaseRequestResolvedBy> resolvedBy()
Who approved or denied the increase request.
-
spendSummary
final Optional<SpendSummary> spendSummary()
Per-member effective-limit report row (
GET /spend_limits/effective).
-
status
final SpendLimitIncreaseRequestStatus 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<SpendLimitIncreaseRequestActor> _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<SpendLimitPeriod> _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<SpendLimitIncreaseRequestResolvedBy> _resolvedBy()
Returns the raw JSON value of resolvedBy.
Unlike resolvedBy, this method doesn't throw if the JSON field has an unexpected type.
-
_spendSummary
final JsonField<SpendSummary> _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<SpendLimitIncreaseRequestStatus> _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 SpendLimitIncreaseRequest.Builder toBuilder()
-
validate
final SpendLimitIncreaseRequest 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 SpendLimitIncreaseRequest.Builder builder()
Returns a mutable builder for constructing an instance of SpendLimitIncreaseRequest.
The following fields are required:
.id() .actor() .createdAt() .period() .resolvedAt() .resolvedBy() .spendSummary() .status()
-
-
-
-