Record Class WorkflowRunStartedEvent.WorkflowRunStartedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.WorkflowRunStartedEvent.WorkflowRunStartedEventData
- Enclosing class:
WorkflowRunStartedEvent
public static record WorkflowRunStartedEvent.WorkflowRunStartedEventData(String runId, String workflowName, Long attempt)
extends Record
Data payload for
WorkflowRunStartedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowRunStartedEventData(String runId, String workflowName, Long attempt) Creates an instance of aWorkflowRunStartedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionattempt()Returns the value of theattemptrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.runId()Returns the value of therunIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworkflowNamerecord component.
-
Constructor Details
-
WorkflowRunStartedEventData
Creates an instance of aWorkflowRunStartedEventDatarecord class.- Parameters:
runId- the value for therunIdrecord componentworkflowName- the value for theworkflowNamerecord componentattempt- the value for theattemptrecord 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
-
workflowName
Returns the value of theworkflowNamerecord component.- Returns:
- the value of the
workflowNamerecord component
-
attempt
Returns the value of theattemptrecord component.- Returns:
- the value of the
attemptrecord component
-