Record Class ModelCallFinishedEvent.ModelCallFinishedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.ModelCallFinishedEvent.ModelCallFinishedEventData
- Enclosing class:
ModelCallFinishedEvent
public static record ModelCallFinishedEvent.ModelCallFinishedEventData(String turnId, String interactionId, Double dispatchDurationMs, ModelCallFinishedOutcome outcome, Boolean containsBuiltInFileEditRequest, Long editClassifierVersion)
extends Record
Data payload for
ModelCallFinishedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionModelCallFinishedEventData(String turnId, String interactionId, Double dispatchDurationMs, ModelCallFinishedOutcome outcome, Boolean containsBuiltInFileEditRequest, Long editClassifierVersion) Creates an instance of aModelCallFinishedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontainsBuiltInFileEditRequestrecord component.Returns the value of thedispatchDurationMsrecord component.Returns the value of theeditClassifierVersionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinteractionIdrecord component.outcome()Returns the value of theoutcomerecord component.final StringtoString()Returns a string representation of this record class.turnId()Returns the value of theturnIdrecord component.
-
Constructor Details
-
ModelCallFinishedEventData
public ModelCallFinishedEventData(String turnId, String interactionId, Double dispatchDurationMs, ModelCallFinishedOutcome outcome, Boolean containsBuiltInFileEditRequest, Long editClassifierVersion) Creates an instance of aModelCallFinishedEventDatarecord class.- Parameters:
turnId- the value for theturnIdrecord componentinteractionId- the value for theinteractionIdrecord componentdispatchDurationMs- the value for thedispatchDurationMsrecord componentoutcome- the value for theoutcomerecord componentcontainsBuiltInFileEditRequest- the value for thecontainsBuiltInFileEditRequestrecord componenteditClassifierVersion- the value for theeditClassifierVersionrecord 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). -
turnId
Returns the value of theturnIdrecord component.- Returns:
- the value of the
turnIdrecord component
-
interactionId
Returns the value of theinteractionIdrecord component.- Returns:
- the value of the
interactionIdrecord component
-
dispatchDurationMs
Returns the value of thedispatchDurationMsrecord component.- Returns:
- the value of the
dispatchDurationMsrecord component
-
outcome
Returns the value of theoutcomerecord component.- Returns:
- the value of the
outcomerecord component
-
containsBuiltInFileEditRequest
Returns the value of thecontainsBuiltInFileEditRequestrecord component.- Returns:
- the value of the
containsBuiltInFileEditRequestrecord component
-
editClassifierVersion
Returns the value of theeditClassifierVersionrecord component.- Returns:
- the value of the
editClassifierVersionrecord component
-