Package com.openai.models
Class RunStep.LastError.Builder
-
- All Implemented Interfaces:
public final class RunStep.LastError.Builder
A builder for LastError.
-
-
Method Summary
Modifier and Type Method Description final RunStep.LastError.Builder
code(RunStep.LastError.Code code)
One of server_error
orrate_limit_exceeded
.final RunStep.LastError.Builder
code(JsonField<RunStep.LastError.Code> code)
One of server_error
orrate_limit_exceeded
.final RunStep.LastError.Builder
message(String message)
A human-readable description of the error. final RunStep.LastError.Builder
message(JsonField<String> message)
A human-readable description of the error. final RunStep.LastError.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final RunStep.LastError.Builder
putAdditionalProperty(String key, JsonValue value)
final RunStep.LastError.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final RunStep.LastError.Builder
removeAdditionalProperty(String key)
final RunStep.LastError.Builder
removeAllAdditionalProperties(Set<String> keys)
final RunStep.LastError
build()
-
-
Method Detail
-
code
final RunStep.LastError.Builder code(RunStep.LastError.Code code)
One of
server_error
orrate_limit_exceeded
.
-
code
final RunStep.LastError.Builder code(JsonField<RunStep.LastError.Code> code)
One of
server_error
orrate_limit_exceeded
.
-
message
final RunStep.LastError.Builder message(String message)
A human-readable description of the error.
-
message
final RunStep.LastError.Builder message(JsonField<String> message)
A human-readable description of the error.
-
additionalProperties
final RunStep.LastError.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RunStep.LastError.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RunStep.LastError.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RunStep.LastError.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RunStep.LastError.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RunStep.LastError build()
-
-
-
-