Class RedTeamSubmitTargetResponseResponse.Builder
-
- All Implemented Interfaces:
public final class RedTeamSubmitTargetResponseResponse.BuilderA builder for RedTeamSubmitTargetResponseResponse.
-
-
Method Summary
-
-
Method Detail
-
isOk
final RedTeamSubmitTargetResponseResponse.Builder isOk(Boolean isOk)
Whether the submission was successful
-
isOk
final RedTeamSubmitTargetResponseResponse.Builder isOk(JsonField<Boolean> isOk)
Sets Builder.isOk to an arbitrary JSON value.
You should usually call Builder.isOk with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
message
final RedTeamSubmitTargetResponseResponse.Builder message(String message)
Human-readable status message
-
message
final RedTeamSubmitTargetResponseResponse.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.
-
error
final RedTeamSubmitTargetResponseResponse.Builder error(String error)
Error code if ok=false
-
error
final RedTeamSubmitTargetResponseResponse.Builder error(JsonField<String> error)
Sets Builder.error to an arbitrary JSON value.
You should usually call Builder.error 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 RedTeamSubmitTargetResponseResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RedTeamSubmitTargetResponseResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RedTeamSubmitTargetResponseResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RedTeamSubmitTargetResponseResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RedTeamSubmitTargetResponseResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RedTeamSubmitTargetResponseResponse build()
Returns an immutable instance of RedTeamSubmitTargetResponseResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.isOk() .message()
-
-
-
-