Record Class SessionCompletionReceiptEvent.SessionCompletionReceiptEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionCompletionReceiptEvent.SessionCompletionReceiptEventData
- Enclosing class:
SessionCompletionReceiptEvent
@CopilotExperimental
public static record SessionCompletionReceiptEvent.SessionCompletionReceiptEventData(Long schemaVersion, Long attempt, String sourceEventId, CompletionReceiptEventRange eventRange, CompletionReceiptStopReason stopReason, CompletionReceiptFinalTool finalTool, Long successfulToolCount, Long failedToolCount)
extends Record
Data payload for
SessionCompletionReceiptEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionCompletionReceiptEventData(Long schemaVersion, Long attempt, String sourceEventId, CompletionReceiptEventRange eventRange, CompletionReceiptStopReason stopReason, CompletionReceiptFinalTool finalTool, Long successfulToolCount, Long failedToolCount) Creates an instance of aSessionCompletionReceiptEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionattempt()Returns the value of theattemptrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventRangerecord component.Returns the value of thefailedToolCountrecord component.Returns the value of thefinalToolrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theschemaVersionrecord component.Returns the value of thesourceEventIdrecord component.Returns the value of thestopReasonrecord component.Returns the value of thesuccessfulToolCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionCompletionReceiptEventData
public SessionCompletionReceiptEventData(Long schemaVersion, Long attempt, String sourceEventId, CompletionReceiptEventRange eventRange, CompletionReceiptStopReason stopReason, CompletionReceiptFinalTool finalTool, Long successfulToolCount, Long failedToolCount) Creates an instance of aSessionCompletionReceiptEventDatarecord class.- Parameters:
schemaVersion- the value for theschemaVersionrecord componentattempt- the value for theattemptrecord componentsourceEventId- the value for thesourceEventIdrecord componenteventRange- the value for theeventRangerecord componentstopReason- the value for thestopReasonrecord componentfinalTool- the value for thefinalToolrecord componentsuccessfulToolCount- the value for thesuccessfulToolCountrecord componentfailedToolCount- the value for thefailedToolCountrecord 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). -
schemaVersion
Returns the value of theschemaVersionrecord component.- Returns:
- the value of the
schemaVersionrecord component
-
attempt
Returns the value of theattemptrecord component.- Returns:
- the value of the
attemptrecord component
-
sourceEventId
Returns the value of thesourceEventIdrecord component.- Returns:
- the value of the
sourceEventIdrecord component
-
eventRange
Returns the value of theeventRangerecord component.- Returns:
- the value of the
eventRangerecord component
-
stopReason
Returns the value of thestopReasonrecord component.- Returns:
- the value of the
stopReasonrecord component
-
finalTool
Returns the value of thefinalToolrecord component.- Returns:
- the value of the
finalToolrecord component
-
successfulToolCount
Returns the value of thesuccessfulToolCountrecord component.- Returns:
- the value of the
successfulToolCountrecord component
-
failedToolCount
Returns the value of thefailedToolCountrecord component.- Returns:
- the value of the
failedToolCountrecord component
-