Class RateLimitUpdateParams.Body
-
- All Implemented Interfaces:
public final class RateLimitUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRateLimitUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final List<WorkspaceRateLimitUpdateValue>limits()Limits to set or clear. final JsonField<List<WorkspaceRateLimitUpdateValue>>_limits()Returns the raw JSON value of limits. final Map<String, JsonValue>_additionalProperties()final RateLimitUpdateParams.Body.BuildertoBuilder()final RateLimitUpdateParams.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 RateLimitUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. final static RateLimitUpdateParams.Bodyof(List<WorkspaceRateLimitUpdateValue> limits)Returns an immutable instance of Body with the required limits set to the given value. -
-
Method Detail
-
limits
final List<WorkspaceRateLimitUpdateValue> limits()
Limits to set or clear. Unspecified limit types are unchanged.
-
_limits
final JsonField<List<WorkspaceRateLimitUpdateValue>> _limits()
Returns the raw JSON value of limits.
Unlike limits, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RateLimitUpdateParams.Body.Builder toBuilder()
-
validate
final RateLimitUpdateParams.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 RateLimitUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.limits()
-
of
final static RateLimitUpdateParams.Body of(List<WorkspaceRateLimitUpdateValue> limits)
-
-
-
-