Class RedTeamSubmitTargetResponseParams.Body.Builder
-
- All Implemented Interfaces:
public final class RedTeamSubmitTargetResponseParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
sessionId
final RedTeamSubmitTargetResponseParams.Body.Builder sessionId(String sessionId)
Session identifier
-
sessionId
final RedTeamSubmitTargetResponseParams.Body.Builder sessionId(JsonField<String> sessionId)
Sets Builder.sessionId to an arbitrary JSON value.
You should usually call Builder.sessionId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
targetResponse
final RedTeamSubmitTargetResponseParams.Body.Builder targetResponse(String targetResponse)
Target's response text
-
targetResponse
final RedTeamSubmitTargetResponseParams.Body.Builder targetResponse(JsonField<String> targetResponse)
Sets Builder.targetResponse to an arbitrary JSON value.
You should usually call Builder.targetResponse 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 RedTeamSubmitTargetResponseParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RedTeamSubmitTargetResponseParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RedTeamSubmitTargetResponseParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RedTeamSubmitTargetResponseParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RedTeamSubmitTargetResponseParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RedTeamSubmitTargetResponseParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.sessionId() .targetResponse()
-
-
-
-