Class RedTeamSubmitTargetResponseResponse
-
- All Implemented Interfaces:
public final class RedTeamSubmitTargetResponseResponseResponse from submitting a target response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRedTeamSubmitTargetResponseResponse.BuilderA builder for RedTeamSubmitTargetResponseResponse.
-
Method Summary
Modifier and Type Method Description final BooleanisOk()Whether the submission was successful final Stringmessage()Human-readable status message final Optional<String>error()Error code if ok=false final JsonField<Boolean>_isOk()Returns the raw JSON value of isOk. final JsonField<String>_message()Returns the raw JSON value of message. final JsonField<String>_error()Returns the raw JSON value of error. final Map<String, JsonValue>_additionalProperties()final RedTeamSubmitTargetResponseResponse.BuildertoBuilder()final RedTeamSubmitTargetResponseResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RedTeamSubmitTargetResponseResponse.Builderbuilder()Returns a mutable builder for constructing an instance of RedTeamSubmitTargetResponseResponse. -
-
Method Detail
-
_isOk
final JsonField<Boolean> _isOk()
Returns the raw JSON value of isOk.
Unlike isOk, this method doesn't throw if the JSON field has an unexpected type.
-
_message
final JsonField<String> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_error
final JsonField<String> _error()
Returns the raw JSON value of error.
Unlike error, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RedTeamSubmitTargetResponseResponse.Builder toBuilder()
-
validate
final RedTeamSubmitTargetResponseResponse validate()
-
builder
final static RedTeamSubmitTargetResponseResponse.Builder builder()
Returns a mutable builder for constructing an instance of RedTeamSubmitTargetResponseResponse.
The following fields are required:
.isOk() .message()
-
-
-
-