Class IncreaseRequestApproveParams.Body
-
- All Implemented Interfaces:
public final class IncreaseRequestApproveParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classIncreaseRequestApproveParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringamount()New per-user spend limit as a non-negative integer decimal string (minor units). final Optional<BetaSpendLimitPeriod>period()final Optional<Boolean>suppressNotification()final JsonField<String>_amount()Returns the raw JSON value of amount. final JsonField<BetaSpendLimitPeriod>_period()Returns the raw JSON value of period. final JsonField<Boolean>_suppressNotification()Returns the raw JSON value of suppressNotification. final Map<String, JsonValue>_additionalProperties()final IncreaseRequestApproveParams.Body.BuildertoBuilder()final IncreaseRequestApproveParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static IncreaseRequestApproveParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. final static IncreaseRequestApproveParams.Bodyof(String amount)Returns an immutable instance of Body with the required amount set to the given value. -
-
Method Detail
-
amount
final String amount()
New per-user spend limit as a non-negative integer decimal string (minor units).
-
period
final Optional<BetaSpendLimitPeriod> period()
-
suppressNotification
final Optional<Boolean> suppressNotification()
-
_amount
final JsonField<String> _amount()
Returns the raw JSON value of amount.
Unlike amount, 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.
-
_suppressNotification
final JsonField<Boolean> _suppressNotification()
Returns the raw JSON value of suppressNotification.
Unlike suppressNotification, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final IncreaseRequestApproveParams.Body.Builder toBuilder()
-
validate
final IncreaseRequestApproveParams.Body 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 IncreaseRequestApproveParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.amount()
-
of
final static IncreaseRequestApproveParams.Body of(String amount)
-
-
-
-