Package com.openai.models.responses
Class ResponseFunctionShellCallOutputContent.Outcome.Exit.Builder
-
- All Implemented Interfaces:
public final class ResponseFunctionShellCallOutputContent.Outcome.Exit.BuilderA builder for Exit.
-
-
Method Summary
-
-
Method Detail
-
exitCode
final ResponseFunctionShellCallOutputContent.Outcome.Exit.Builder exitCode(Long exitCode)
The exit code returned by the shell process.
-
exitCode
final ResponseFunctionShellCallOutputContent.Outcome.Exit.Builder exitCode(JsonField<Long> exitCode)
Sets Builder.exitCode to an arbitrary JSON value.
You should usually call Builder.exitCode with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseFunctionShellCallOutputContent.Outcome.Exit.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("exit")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseFunctionShellCallOutputContent.Outcome.Exit.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseFunctionShellCallOutputContent.Outcome.Exit.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseFunctionShellCallOutputContent.Outcome.Exit.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseFunctionShellCallOutputContent.Outcome.Exit.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseFunctionShellCallOutputContent.Outcome.Exit.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseFunctionShellCallOutputContent.Outcome.Exit build()
Returns an immutable instance of Exit.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.exitCode()
-
-
-
-