Class BetaManagedAgentsModelRateLimitedError
-
- All Implemented Interfaces:
public final class BetaManagedAgentsModelRateLimitedErrorThe model request was rate-limited.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsModelRateLimitedError.BuilderA builder for BetaManagedAgentsModelRateLimitedError.
public final classBetaManagedAgentsModelRateLimitedError.RetryStatusWhat the client should do next.
-
Method Summary
Modifier and Type Method Description final Stringmessage()Human-readable error description. final BetaManagedAgentsModelRateLimitedError.RetryStatusretryStatus()What the client should do next. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("model_rate_limited_error")final JsonField<String>_message()Returns the raw JSON value of message. final JsonField<BetaManagedAgentsModelRateLimitedError.RetryStatus>_retryStatus()Returns the raw JSON value of retryStatus. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsModelRateLimitedError.BuildertoBuilder()final BetaManagedAgentsModelRateLimitedErrorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsModelRateLimitedError.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsModelRateLimitedError. -
-
Method Detail
-
retryStatus
final BetaManagedAgentsModelRateLimitedError.RetryStatus retryStatus()
What the client should do next.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("model_rate_limited_error")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_message
final JsonField<String> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_retryStatus
final JsonField<BetaManagedAgentsModelRateLimitedError.RetryStatus> _retryStatus()
Returns the raw JSON value of retryStatus.
Unlike retryStatus, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsModelRateLimitedError.Builder toBuilder()
-
validate
final BetaManagedAgentsModelRateLimitedError 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 BetaManagedAgentsModelRateLimitedError.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsModelRateLimitedError.
The following fields are required:
.message() .retryStatus()
-
-
-
-