Package com.openai.models
Enum Run.LastError.Code.Known
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum Run.LastError.Code.Known extends Enum<Run.LastError.Code.Known>
An enum containing Code's known values.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final Integer
ordinal
private final EnumEntries<Run.LastError.Code.Known>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description SERVER_ERROR
RATE_LIMIT_EXCEEDED
INVALID_PROMPT
-
Method Summary
Modifier and Type Method Description final Run.LastError.Code.Known
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<Run.LastError.Code.Known>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<Run.LastError.Code.Known>
getEntries()
An enum containing Code's known values. -
-
Method Detail
-
valueOf
final Run.LastError.Code.Known valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<Run.LastError.Code.Known> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<Run.LastError.Code.Known> getEntries()
An enum containing Code's known values.
-
-
-
-