Class BetaManagedAgentsBillingError
-
- All Implemented Interfaces:
public final class BetaManagedAgentsBillingErrorThe caller's organization or workspace cannot make model requests — out of credits or spend limit reached. Retrying with the same credentials will not succeed; the caller must resolve the billing state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsBillingError.BuilderA builder for BetaManagedAgentsBillingError.
public final classBetaManagedAgentsBillingError.RetryStatusWhat the client should do next in response to this error.
public final classBetaManagedAgentsBillingError.Type
-
Method Summary
Modifier and Type Method Description final Stringmessage()Human-readable error description. final BetaManagedAgentsBillingError.RetryStatusretryStatus()What the client should do next in response to this error. final BetaManagedAgentsBillingError.Typetype()final JsonField<String>_message()Returns the raw JSON value of message. final JsonField<BetaManagedAgentsBillingError.RetryStatus>_retryStatus()Returns the raw JSON value of retryStatus. final JsonField<BetaManagedAgentsBillingError.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsBillingError.BuildertoBuilder()final BetaManagedAgentsBillingErrorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsBillingError.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsBillingError. -
-
Method Detail
-
retryStatus
final BetaManagedAgentsBillingError.RetryStatus retryStatus()
What the client should do next in response to this error.
-
type
final BetaManagedAgentsBillingError.Type type()
-
_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<BetaManagedAgentsBillingError.RetryStatus> _retryStatus()
Returns the raw JSON value of retryStatus.
Unlike retryStatus, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsBillingError.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsBillingError.Builder toBuilder()
-
validate
final BetaManagedAgentsBillingError 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 BetaManagedAgentsBillingError.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsBillingError.
The following fields are required:
.message() .retryStatus() .type()
-
-
-
-