Class ResponseCodeInterpreterToolCall.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseCodeInterpreterToolCall.BuilderA builder for ResponseCodeInterpreterToolCall. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        idfinal ResponseCodeInterpreterToolCall.Builder id(String id) The unique ID of the code interpreter tool call. 
 - 
                                        idfinal ResponseCodeInterpreterToolCall.Builder id(JsonField<String> id) Sets Builder.id to an arbitrary JSON value. You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        codefinal ResponseCodeInterpreterToolCall.Builder code(String code) The code to run, or null if not available. 
 - 
                                        codefinal ResponseCodeInterpreterToolCall.Builder code(Optional<String> code) Alias for calling Builder.code with code.orElse(null).
 - 
                                        codefinal ResponseCodeInterpreterToolCall.Builder code(JsonField<String> code) Sets Builder.code to an arbitrary JSON value. You should usually call Builder.code with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        containerIdfinal ResponseCodeInterpreterToolCall.Builder containerId(String containerId) The ID of the container used to run the code. 
 - 
                                        containerIdfinal ResponseCodeInterpreterToolCall.Builder containerId(JsonField<String> containerId) Sets Builder.containerId to an arbitrary JSON value. You should usually call Builder.containerId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        outputsfinal ResponseCodeInterpreterToolCall.Builder outputs(List<ResponseCodeInterpreterToolCall.Output> outputs) The outputs generated by the code interpreter, such as logs or images. Can be null if no outputs are available. 
 - 
                                        outputsfinal ResponseCodeInterpreterToolCall.Builder outputs(Optional<List<ResponseCodeInterpreterToolCall.Output>> outputs) Alias for calling Builder.outputs with outputs.orElse(null).
 - 
                                        outputsfinal ResponseCodeInterpreterToolCall.Builder outputs(JsonField<List<ResponseCodeInterpreterToolCall.Output>> outputs) Sets Builder.outputs to an arbitrary JSON value. You should usually call Builder.outputs with a well-typed List<Output>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addOutputfinal ResponseCodeInterpreterToolCall.Builder addOutput(ResponseCodeInterpreterToolCall.Output output) 
 - 
                                        addOutputfinal ResponseCodeInterpreterToolCall.Builder addOutput(ResponseCodeInterpreterToolCall.Output.Logs logs) Alias for calling addOutput with Output.ofLogs(logs).
 - 
                                        addOutputfinal ResponseCodeInterpreterToolCall.Builder addOutput(ResponseCodeInterpreterToolCall.Output.Image image) Alias for calling addOutput with Output.ofImage(image).
 - 
                                        addLogsOutputfinal ResponseCodeInterpreterToolCall.Builder addLogsOutput(String logs) Alias for calling addOutput with the following: Output.Logs.builder() .logs(logs) .build()
 - 
                                        addImageOutputfinal ResponseCodeInterpreterToolCall.Builder addImageOutput(String url) Alias for calling addOutput with the following: Output.Image.builder() .url(url) .build()
 - 
                                        statusfinal ResponseCodeInterpreterToolCall.Builder status(ResponseCodeInterpreterToolCall.Status status) The status of the code interpreter tool call. Valid values are in_progress,completed,incomplete,interpreting, andfailed.
 - 
                                        statusfinal ResponseCodeInterpreterToolCall.Builder status(JsonField<ResponseCodeInterpreterToolCall.Status> status) Sets Builder.status to an arbitrary JSON value. You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        typefinal ResponseCodeInterpreterToolCall.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("code_interpreter_call")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ResponseCodeInterpreterToolCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ResponseCodeInterpreterToolCall.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ResponseCodeInterpreterToolCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ResponseCodeInterpreterToolCall.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ResponseCodeInterpreterToolCall.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ResponseCodeInterpreterToolCall build() Returns an immutable instance of ResponseCodeInterpreterToolCall. Further updates to this Builder will not mutate the returned instance. The following fields are required: .id() .code() .containerId() .outputs() .status()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-