Class ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder
-
- All Implemented Interfaces:
public final class ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder
A builder for AcknowledgedSafetyCheck.
-
-
Method Summary
-
-
Method Detail
-
id
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder id(String id)
The ID of the pending safety check.
-
id
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.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.
-
code
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder code(String code)
The type of the pending safety check.
-
code
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder code(Optional<String> code)
Alias for calling Builder.code with
code.orElse(null)
.
-
code
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.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.
-
message
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder message(String message)
Details about the pending safety check.
-
message
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder message(Optional<String> message)
Alias for calling Builder.message with
message.orElse(null)
.
-
message
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder message(JsonField<String> message)
Sets Builder.message to an arbitrary JSON value.
You should usually call Builder.message with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputItem.ComputerCallOutput.AcknowledgedSafetyCheck build()
Returns an immutable instance of AcknowledgedSafetyCheck.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-