Class RedTeamRetrieveStatusResponse
-
- All Implemented Interfaces:
public final class RedTeamRetrieveStatusResponseStatus of a red team workflow.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRedTeamRetrieveStatusResponse.BuilderA builder for RedTeamRetrieveStatusResponse.
-
Method Summary
Modifier and Type Method Description final Stringname()Workflow name final StringrunId()Run identifier final Stringstatus()Workflow status final StringworkflowId()Workflow identifier final Optional<Integer>activeSessions()Number of active sessions final Optional<Integer>completedSessions()Number of completed sessions final Optional<Double>elapsedSeconds()Elapsed time in seconds final Optional<String>error()Error message if failed final Optional<Double>etaSeconds()Estimated time remaining in seconds final Optional<Integer>failedSessions()Number of failed sessions final Optional<String>message()Status message final Optional<String>phase()Current workflow phase final Optional<Integer>progressCompleted()Completed progress items final Optional<Integer>progressTotal()Total progress items final Optional<Integer>readyPromptsInQueue()Number of prompts ready in queue final Optional<String>tenantId()Tenant identifier final Optional<Integer>totalSessions()Total number of sessions final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_runId()Returns the raw JSON value of runId. final JsonField<String>_status()Returns the raw JSON value of status. final JsonField<String>_workflowId()Returns the raw JSON value of workflowId. final JsonField<Integer>_activeSessions()Returns the raw JSON value of activeSessions. final JsonField<Integer>_completedSessions()Returns the raw JSON value of completedSessions. final JsonField<Double>_elapsedSeconds()Returns the raw JSON value of elapsedSeconds. final JsonField<String>_error()Returns the raw JSON value of error. final JsonField<Double>_etaSeconds()Returns the raw JSON value of etaSeconds. final JsonField<Integer>_failedSessions()Returns the raw JSON value of failedSessions. final JsonField<String>_message()Returns the raw JSON value of message. final JsonField<String>_phase()Returns the raw JSON value of phase. final JsonField<Integer>_progressCompleted()Returns the raw JSON value of progressCompleted. final JsonField<Integer>_progressTotal()Returns the raw JSON value of progressTotal. final JsonField<Integer>_readyPromptsInQueue()Returns the raw JSON value of readyPromptsInQueue. final JsonField<String>_tenantId()Returns the raw JSON value of tenantId. final JsonField<Integer>_totalSessions()Returns the raw JSON value of totalSessions. final Map<String, JsonValue>_additionalProperties()final RedTeamRetrieveStatusResponse.BuildertoBuilder()final RedTeamRetrieveStatusResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RedTeamRetrieveStatusResponse.Builderbuilder()Returns a mutable builder for constructing an instance of RedTeamRetrieveStatusResponse. -
-
Method Detail
-
workflowId
final String workflowId()
Workflow identifier
-
activeSessions
final Optional<Integer> activeSessions()
Number of active sessions
-
completedSessions
final Optional<Integer> completedSessions()
Number of completed sessions
-
elapsedSeconds
final Optional<Double> elapsedSeconds()
Elapsed time in seconds
-
etaSeconds
final Optional<Double> etaSeconds()
Estimated time remaining in seconds
-
failedSessions
final Optional<Integer> failedSessions()
Number of failed sessions
-
progressCompleted
final Optional<Integer> progressCompleted()
Completed progress items
-
progressTotal
final Optional<Integer> progressTotal()
Total progress items
-
readyPromptsInQueue
final Optional<Integer> readyPromptsInQueue()
Number of prompts ready in queue
-
totalSessions
final Optional<Integer> totalSessions()
Total number of sessions
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_runId
final JsonField<String> _runId()
Returns the raw JSON value of runId.
Unlike runId, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<String> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_workflowId
final JsonField<String> _workflowId()
Returns the raw JSON value of workflowId.
Unlike workflowId, this method doesn't throw if the JSON field has an unexpected type.
-
_activeSessions
final JsonField<Integer> _activeSessions()
Returns the raw JSON value of activeSessions.
Unlike activeSessions, this method doesn't throw if the JSON field has an unexpected type.
-
_completedSessions
final JsonField<Integer> _completedSessions()
Returns the raw JSON value of completedSessions.
Unlike completedSessions, this method doesn't throw if the JSON field has an unexpected type.
-
_elapsedSeconds
final JsonField<Double> _elapsedSeconds()
Returns the raw JSON value of elapsedSeconds.
Unlike elapsedSeconds, 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.
-
_etaSeconds
final JsonField<Double> _etaSeconds()
Returns the raw JSON value of etaSeconds.
Unlike etaSeconds, this method doesn't throw if the JSON field has an unexpected type.
-
_failedSessions
final JsonField<Integer> _failedSessions()
Returns the raw JSON value of failedSessions.
Unlike failedSessions, 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.
-
_phase
final JsonField<String> _phase()
Returns the raw JSON value of phase.
Unlike phase, this method doesn't throw if the JSON field has an unexpected type.
-
_progressCompleted
final JsonField<Integer> _progressCompleted()
Returns the raw JSON value of progressCompleted.
Unlike progressCompleted, this method doesn't throw if the JSON field has an unexpected type.
-
_progressTotal
final JsonField<Integer> _progressTotal()
Returns the raw JSON value of progressTotal.
Unlike progressTotal, this method doesn't throw if the JSON field has an unexpected type.
-
_readyPromptsInQueue
final JsonField<Integer> _readyPromptsInQueue()
Returns the raw JSON value of readyPromptsInQueue.
Unlike readyPromptsInQueue, this method doesn't throw if the JSON field has an unexpected type.
-
_tenantId
final JsonField<String> _tenantId()
Returns the raw JSON value of tenantId.
Unlike tenantId, this method doesn't throw if the JSON field has an unexpected type.
-
_totalSessions
final JsonField<Integer> _totalSessions()
Returns the raw JSON value of totalSessions.
Unlike totalSessions, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RedTeamRetrieveStatusResponse.Builder toBuilder()
-
validate
final RedTeamRetrieveStatusResponse 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 RedTeamRetrieveStatusResponse.Builder builder()
Returns a mutable builder for constructing an instance of RedTeamRetrieveStatusResponse.
The following fields are required:
.name() .runId() .status() .workflowId()
-
-
-
-