Record Class WorkflowRunSettledEvent.WorkflowRunSettledEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.WorkflowRunSettledEvent.WorkflowRunSettledEventData
- Enclosing class:
WorkflowRunSettledEvent
@CopilotExperimental
public static record WorkflowRunSettledEvent.WorkflowRunSettledEventData(String runId, WorkflowRunSettledStatus status, Long consumedSubagents, Long consumedNanoAiu, Long elapsedMs, String failureType)
extends Record
Data payload for
WorkflowRunSettledEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowRunSettledEventData(String runId, WorkflowRunSettledStatus status, Long consumedSubagents, Long consumedNanoAiu, Long elapsedMs, String failureType) Creates an instance of aWorkflowRunSettledEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconsumedNanoAiurecord component.Returns the value of theconsumedSubagentsrecord component.Returns the value of theelapsedMsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailureTyperecord component.final inthashCode()Returns a hash code value for this object.runId()Returns the value of therunIdrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WorkflowRunSettledEventData
public WorkflowRunSettledEventData(String runId, WorkflowRunSettledStatus status, Long consumedSubagents, Long consumedNanoAiu, Long elapsedMs, String failureType) Creates an instance of aWorkflowRunSettledEventDatarecord class.- Parameters:
runId- the value for therunIdrecord componentstatus- the value for thestatusrecord componentconsumedSubagents- the value for theconsumedSubagentsrecord componentconsumedNanoAiu- the value for theconsumedNanoAiurecord componentelapsedMs- the value for theelapsedMsrecord componentfailureType- the value for thefailureTyperecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
consumedSubagents
Returns the value of theconsumedSubagentsrecord component.- Returns:
- the value of the
consumedSubagentsrecord component
-
consumedNanoAiu
Returns the value of theconsumedNanoAiurecord component.- Returns:
- the value of the
consumedNanoAiurecord component
-
elapsedMs
Returns the value of theelapsedMsrecord component.- Returns:
- the value of the
elapsedMsrecord component
-
failureType
Returns the value of thefailureTyperecord component.- Returns:
- the value of the
failureTyperecord component
-