Class UnwrapWebhookEvent
-
- All Implemented Interfaces:
public final class UnwrapWebhookEventSent when a batch API request has been cancelled.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceUnwrapWebhookEvent.VisitorAn interface that defines how to map each variant of UnwrapWebhookEvent to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<BatchCancelledWebhookEvent>batchCancelled()Sent when a batch API request has been cancelled. final Optional<BatchCompletedWebhookEvent>batchCompleted()Sent when a batch API request has been completed. final Optional<BatchExpiredWebhookEvent>batchExpired()Sent when a batch API request has expired. final Optional<BatchFailedWebhookEvent>batchFailed()Sent when a batch API request has failed. final Optional<EvalRunCanceledWebhookEvent>evalRunCanceled()Sent when an eval run has been canceled. final Optional<EvalRunFailedWebhookEvent>evalRunFailed()Sent when an eval run has failed. final Optional<EvalRunSucceededWebhookEvent>evalRunSucceeded()Sent when an eval run has succeeded. final Optional<FineTuningJobCancelledWebhookEvent>fineTuningJobCancelled()Sent when a fine-tuning job has been cancelled. final Optional<FineTuningJobFailedWebhookEvent>fineTuningJobFailed()Sent when a fine-tuning job has failed. final Optional<FineTuningJobSucceededWebhookEvent>fineTuningJobSucceeded()Sent when a fine-tuning job has succeeded. final Optional<RealtimeCallIncomingWebhookEvent>realtimeCallIncoming()Sent when Realtime API Receives a incoming SIP call. final Optional<ResponseCancelledWebhookEvent>responseCancelled()Sent when a background response has been cancelled. final Optional<ResponseCompletedWebhookEvent>responseCompleted()Sent when a background response has been completed. final Optional<ResponseFailedWebhookEvent>responseFailed()Sent when a background response has failed. final Optional<ResponseIncompleteWebhookEvent>responseIncomplete()Sent when a background response has been interrupted. final BooleanisBatchCancelled()final BooleanisBatchCompleted()final BooleanisBatchExpired()final BooleanisBatchFailed()final BooleanisEvalRunCanceled()final BooleanisEvalRunFailed()final BooleanisEvalRunSucceeded()final BooleanisFineTuningJobCancelled()final BooleanisFineTuningJobFailed()final BooleanisFineTuningJobSucceeded()final BooleanisRealtimeCallIncoming()final BooleanisResponseCancelled()final BooleanisResponseCompleted()final BooleanisResponseFailed()final BooleanisResponseIncomplete()final BatchCancelledWebhookEventasBatchCancelled()Sent when a batch API request has been cancelled. final BatchCompletedWebhookEventasBatchCompleted()Sent when a batch API request has been completed. final BatchExpiredWebhookEventasBatchExpired()Sent when a batch API request has expired. final BatchFailedWebhookEventasBatchFailed()Sent when a batch API request has failed. final EvalRunCanceledWebhookEventasEvalRunCanceled()Sent when an eval run has been canceled. final EvalRunFailedWebhookEventasEvalRunFailed()Sent when an eval run has failed. final EvalRunSucceededWebhookEventasEvalRunSucceeded()Sent when an eval run has succeeded. final FineTuningJobCancelledWebhookEventasFineTuningJobCancelled()Sent when a fine-tuning job has been cancelled. final FineTuningJobFailedWebhookEventasFineTuningJobFailed()Sent when a fine-tuning job has failed. final FineTuningJobSucceededWebhookEventasFineTuningJobSucceeded()Sent when a fine-tuning job has succeeded. final RealtimeCallIncomingWebhookEventasRealtimeCallIncoming()Sent when Realtime API Receives a incoming SIP call. final ResponseCancelledWebhookEventasResponseCancelled()Sent when a background response has been cancelled. final ResponseCompletedWebhookEventasResponseCompleted()Sent when a background response has been completed. final ResponseFailedWebhookEventasResponseFailed()Sent when a background response has failed. final ResponseIncompleteWebhookEventasResponseIncomplete()Sent when a background response has been interrupted. final Optional<JsonValue>_json()final <T extends Any> Taccept(UnwrapWebhookEvent.Visitor<T> visitor)final UnwrapWebhookEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UnwrapWebhookEventofBatchCancelled(BatchCancelledWebhookEvent batchCancelled)Sent when a batch API request has been cancelled. final static UnwrapWebhookEventofBatchCompleted(BatchCompletedWebhookEvent batchCompleted)Sent when a batch API request has been completed. final static UnwrapWebhookEventofBatchExpired(BatchExpiredWebhookEvent batchExpired)Sent when a batch API request has expired. final static UnwrapWebhookEventofBatchFailed(BatchFailedWebhookEvent batchFailed)Sent when a batch API request has failed. final static UnwrapWebhookEventofEvalRunCanceled(EvalRunCanceledWebhookEvent evalRunCanceled)Sent when an eval run has been canceled. final static UnwrapWebhookEventofEvalRunFailed(EvalRunFailedWebhookEvent evalRunFailed)Sent when an eval run has failed. final static UnwrapWebhookEventofEvalRunSucceeded(EvalRunSucceededWebhookEvent evalRunSucceeded)Sent when an eval run has succeeded. final static UnwrapWebhookEventofFineTuningJobCancelled(FineTuningJobCancelledWebhookEvent fineTuningJobCancelled)Sent when a fine-tuning job has been cancelled. final static UnwrapWebhookEventofFineTuningJobFailed(FineTuningJobFailedWebhookEvent fineTuningJobFailed)Sent when a fine-tuning job has failed. final static UnwrapWebhookEventofFineTuningJobSucceeded(FineTuningJobSucceededWebhookEvent fineTuningJobSucceeded)Sent when a fine-tuning job has succeeded. final static UnwrapWebhookEventofRealtimeCallIncoming(RealtimeCallIncomingWebhookEvent realtimeCallIncoming)Sent when Realtime API Receives a incoming SIP call. final static UnwrapWebhookEventofResponseCancelled(ResponseCancelledWebhookEvent responseCancelled)Sent when a background response has been cancelled. final static UnwrapWebhookEventofResponseCompleted(ResponseCompletedWebhookEvent responseCompleted)Sent when a background response has been completed. final static UnwrapWebhookEventofResponseFailed(ResponseFailedWebhookEvent responseFailed)Sent when a background response has failed. final static UnwrapWebhookEventofResponseIncomplete(ResponseIncompleteWebhookEvent responseIncomplete)Sent when a background response has been interrupted. -
-
Method Detail
-
batchCancelled
final Optional<BatchCancelledWebhookEvent> batchCancelled()
Sent when a batch API request has been cancelled.
-
batchCompleted
final Optional<BatchCompletedWebhookEvent> batchCompleted()
Sent when a batch API request has been completed.
-
batchExpired
final Optional<BatchExpiredWebhookEvent> batchExpired()
Sent when a batch API request has expired.
-
batchFailed
final Optional<BatchFailedWebhookEvent> batchFailed()
Sent when a batch API request has failed.
-
evalRunCanceled
final Optional<EvalRunCanceledWebhookEvent> evalRunCanceled()
Sent when an eval run has been canceled.
-
evalRunFailed
final Optional<EvalRunFailedWebhookEvent> evalRunFailed()
Sent when an eval run has failed.
-
evalRunSucceeded
final Optional<EvalRunSucceededWebhookEvent> evalRunSucceeded()
Sent when an eval run has succeeded.
-
fineTuningJobCancelled
final Optional<FineTuningJobCancelledWebhookEvent> fineTuningJobCancelled()
Sent when a fine-tuning job has been cancelled.
-
fineTuningJobFailed
final Optional<FineTuningJobFailedWebhookEvent> fineTuningJobFailed()
Sent when a fine-tuning job has failed.
-
fineTuningJobSucceeded
final Optional<FineTuningJobSucceededWebhookEvent> fineTuningJobSucceeded()
Sent when a fine-tuning job has succeeded.
-
realtimeCallIncoming
final Optional<RealtimeCallIncomingWebhookEvent> realtimeCallIncoming()
Sent when Realtime API Receives a incoming SIP call.
-
responseCancelled
final Optional<ResponseCancelledWebhookEvent> responseCancelled()
Sent when a background response has been cancelled.
-
responseCompleted
final Optional<ResponseCompletedWebhookEvent> responseCompleted()
Sent when a background response has been completed.
-
responseFailed
final Optional<ResponseFailedWebhookEvent> responseFailed()
Sent when a background response has failed.
-
responseIncomplete
final Optional<ResponseIncompleteWebhookEvent> responseIncomplete()
Sent when a background response has been interrupted.
-
isBatchCancelled
final Boolean isBatchCancelled()
-
isBatchCompleted
final Boolean isBatchCompleted()
-
isBatchExpired
final Boolean isBatchExpired()
-
isBatchFailed
final Boolean isBatchFailed()
-
isEvalRunCanceled
final Boolean isEvalRunCanceled()
-
isEvalRunFailed
final Boolean isEvalRunFailed()
-
isEvalRunSucceeded
final Boolean isEvalRunSucceeded()
-
isFineTuningJobCancelled
final Boolean isFineTuningJobCancelled()
-
isFineTuningJobFailed
final Boolean isFineTuningJobFailed()
-
isFineTuningJobSucceeded
final Boolean isFineTuningJobSucceeded()
-
isRealtimeCallIncoming
final Boolean isRealtimeCallIncoming()
-
isResponseCancelled
final Boolean isResponseCancelled()
-
isResponseCompleted
final Boolean isResponseCompleted()
-
isResponseFailed
final Boolean isResponseFailed()
-
isResponseIncomplete
final Boolean isResponseIncomplete()
-
asBatchCancelled
final BatchCancelledWebhookEvent asBatchCancelled()
Sent when a batch API request has been cancelled.
-
asBatchCompleted
final BatchCompletedWebhookEvent asBatchCompleted()
Sent when a batch API request has been completed.
-
asBatchExpired
final BatchExpiredWebhookEvent asBatchExpired()
Sent when a batch API request has expired.
-
asBatchFailed
final BatchFailedWebhookEvent asBatchFailed()
Sent when a batch API request has failed.
-
asEvalRunCanceled
final EvalRunCanceledWebhookEvent asEvalRunCanceled()
Sent when an eval run has been canceled.
-
asEvalRunFailed
final EvalRunFailedWebhookEvent asEvalRunFailed()
Sent when an eval run has failed.
-
asEvalRunSucceeded
final EvalRunSucceededWebhookEvent asEvalRunSucceeded()
Sent when an eval run has succeeded.
-
asFineTuningJobCancelled
final FineTuningJobCancelledWebhookEvent asFineTuningJobCancelled()
Sent when a fine-tuning job has been cancelled.
-
asFineTuningJobFailed
final FineTuningJobFailedWebhookEvent asFineTuningJobFailed()
Sent when a fine-tuning job has failed.
-
asFineTuningJobSucceeded
final FineTuningJobSucceededWebhookEvent asFineTuningJobSucceeded()
Sent when a fine-tuning job has succeeded.
-
asRealtimeCallIncoming
final RealtimeCallIncomingWebhookEvent asRealtimeCallIncoming()
Sent when Realtime API Receives a incoming SIP call.
-
asResponseCancelled
final ResponseCancelledWebhookEvent asResponseCancelled()
Sent when a background response has been cancelled.
-
asResponseCompleted
final ResponseCompletedWebhookEvent asResponseCompleted()
Sent when a background response has been completed.
-
asResponseFailed
final ResponseFailedWebhookEvent asResponseFailed()
Sent when a background response has failed.
-
asResponseIncomplete
final ResponseIncompleteWebhookEvent asResponseIncomplete()
Sent when a background response has been interrupted.
-
accept
final <T extends Any> T accept(UnwrapWebhookEvent.Visitor<T> visitor)
-
validate
final UnwrapWebhookEvent validate()
-
ofBatchCancelled
final static UnwrapWebhookEvent ofBatchCancelled(BatchCancelledWebhookEvent batchCancelled)
Sent when a batch API request has been cancelled.
-
ofBatchCompleted
final static UnwrapWebhookEvent ofBatchCompleted(BatchCompletedWebhookEvent batchCompleted)
Sent when a batch API request has been completed.
-
ofBatchExpired
final static UnwrapWebhookEvent ofBatchExpired(BatchExpiredWebhookEvent batchExpired)
Sent when a batch API request has expired.
-
ofBatchFailed
final static UnwrapWebhookEvent ofBatchFailed(BatchFailedWebhookEvent batchFailed)
Sent when a batch API request has failed.
-
ofEvalRunCanceled
final static UnwrapWebhookEvent ofEvalRunCanceled(EvalRunCanceledWebhookEvent evalRunCanceled)
Sent when an eval run has been canceled.
-
ofEvalRunFailed
final static UnwrapWebhookEvent ofEvalRunFailed(EvalRunFailedWebhookEvent evalRunFailed)
Sent when an eval run has failed.
-
ofEvalRunSucceeded
final static UnwrapWebhookEvent ofEvalRunSucceeded(EvalRunSucceededWebhookEvent evalRunSucceeded)
Sent when an eval run has succeeded.
-
ofFineTuningJobCancelled
final static UnwrapWebhookEvent ofFineTuningJobCancelled(FineTuningJobCancelledWebhookEvent fineTuningJobCancelled)
Sent when a fine-tuning job has been cancelled.
-
ofFineTuningJobFailed
final static UnwrapWebhookEvent ofFineTuningJobFailed(FineTuningJobFailedWebhookEvent fineTuningJobFailed)
Sent when a fine-tuning job has failed.
-
ofFineTuningJobSucceeded
final static UnwrapWebhookEvent ofFineTuningJobSucceeded(FineTuningJobSucceededWebhookEvent fineTuningJobSucceeded)
Sent when a fine-tuning job has succeeded.
-
ofRealtimeCallIncoming
final static UnwrapWebhookEvent ofRealtimeCallIncoming(RealtimeCallIncomingWebhookEvent realtimeCallIncoming)
Sent when Realtime API Receives a incoming SIP call.
-
ofResponseCancelled
final static UnwrapWebhookEvent ofResponseCancelled(ResponseCancelledWebhookEvent responseCancelled)
Sent when a background response has been cancelled.
-
ofResponseCompleted
final static UnwrapWebhookEvent ofResponseCompleted(ResponseCompletedWebhookEvent responseCompleted)
Sent when a background response has been completed.
-
ofResponseFailed
final static UnwrapWebhookEvent ofResponseFailed(ResponseFailedWebhookEvent responseFailed)
Sent when a background response has failed.
-
ofResponseIncomplete
final static UnwrapWebhookEvent ofResponseIncomplete(ResponseIncompleteWebhookEvent responseIncomplete)
Sent when a background response has been interrupted.
-
-
-
-