Class RedTeamSubmitTargetResponseParams.Body
-
- All Implemented Interfaces:
public final class RedTeamSubmitTargetResponseParams.BodyRequest to submit target's response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRedTeamSubmitTargetResponseParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description 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>_additionalProperties()final RedTeamSubmitTargetResponseParams.Body.BuildertoBuilder()final RedTeamSubmitTargetResponseParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RedTeamSubmitTargetResponseParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RedTeamSubmitTargetResponseParams.Body.Builder toBuilder()
-
validate
final RedTeamSubmitTargetResponseParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static RedTeamSubmitTargetResponseParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.sessionId() .targetResponse()
-
-
-
-