Class RedTeamSubmitTargetResponseParams
-
- All Implemented Interfaces:
-
com.hiddenlayer.api.core.Params
public final class RedTeamSubmitTargetResponseParams implements Params
BETA This endpoint is not GA or Production ready and is subject to changes at any time. Breaking changes may occur.
Submit target's response.
This triggers the ProcessTargetResponseWorkflow child workflow for the specified session. Returns immediately.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRedTeamSubmitTargetResponseParams.BuilderA builder for RedTeamSubmitTargetResponseParams.
public final classRedTeamSubmitTargetResponseParams.BodyRequest to submit target's response.
-
Method Summary
Modifier and Type Method Description final Optional<String>workflowId()The workflow identifier final StringsessionId()Session identifier final StringtargetResponse()Target's response text final JsonField<String>_sessionId()Returns the raw JSON value of sessionId. final JsonField<String>_targetResponse()Returns the raw JSON value of targetResponse. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final RedTeamSubmitTargetResponseParams.BuildertoBuilder()final RedTeamSubmitTargetResponseParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static RedTeamSubmitTargetResponseParams.Builderbuilder()Returns a mutable builder for constructing an instance of RedTeamSubmitTargetResponseParams. -
-
Method Detail
-
workflowId
final Optional<String> workflowId()
The workflow identifier
-
targetResponse
final String targetResponse()
Target's response text
-
_sessionId
final JsonField<String> _sessionId()
Returns the raw JSON value of sessionId.
Unlike sessionId, this method doesn't throw if the JSON field has an unexpected type.
-
_targetResponse
final JsonField<String> _targetResponse()
Returns the raw JSON value of targetResponse.
Unlike targetResponse, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final RedTeamSubmitTargetResponseParams.Builder toBuilder()
-
_body
final RedTeamSubmitTargetResponseParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static RedTeamSubmitTargetResponseParams.Builder builder()
Returns a mutable builder for constructing an instance of RedTeamSubmitTargetResponseParams.
The following fields are required:
.sessionId() .targetResponse()
-
-
-
-