Record Class ModelCallFinalResultEvent.ModelCallFinalResultEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.ModelCallFinalResultEvent.ModelCallFinalResultEventData
- Enclosing class:
ModelCallFinalResultEvent
public static record ModelCallFinalResultEvent.ModelCallFinalResultEventData(String model, Boolean isByok, ModelCallFinalResult result)
extends Record
Data payload for
ModelCallFinalResultEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionModelCallFinalResultEventData(String model, Boolean isByok, ModelCallFinalResult result) Creates an instance of aModelCallFinalResultEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.isByok()Returns the value of theisByokrecord component.model()Returns the value of themodelrecord component.result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelCallFinalResultEventData
Creates an instance of aModelCallFinalResultEventDatarecord class.- Parameters:
model- the value for themodelrecord componentisByok- the value for theisByokrecord componentresult- the value for theresultrecord 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). -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
isByok
Returns the value of theisByokrecord component.- Returns:
- the value of the
isByokrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-