Record Class ReportDetailView.LlmGenerationAttempt
java.lang.Object
java.lang.Record
io.jmix.reportsflowui.view.report.ReportDetailView.LlmGenerationAttempt
- Enclosing class:
ReportDetailView
protected static record ReportDetailView.LlmGenerationAttempt(DataSet dataSet, LlmQueryGenerationRequest request, @Nullable String storedQuery, long draftRevision, long token)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLlmGenerationAttempt(DataSet dataSet, LlmQueryGenerationRequest request, @Nullable String storedQuery, long draftRevision, long token) Creates an instance of aLlmGenerationAttemptrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondataSet()Returns the value of thedataSetrecord component.longReturns the value of thedraftRevisionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.request()Returns the value of therequestrecord component.@Nullable StringReturns the value of thestoredQueryrecord component.longtoken()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LlmGenerationAttempt
protected LlmGenerationAttempt(DataSet dataSet, LlmQueryGenerationRequest request, @Nullable String storedQuery, long draftRevision, long token) Creates an instance of aLlmGenerationAttemptrecord class.- Parameters:
dataSet- the value for thedataSetrecord componentrequest- the value for therequestrecord componentstoredQuery- the value for thestoredQueryrecord componentdraftRevision- the value for thedraftRevisionrecord componenttoken- the value for thetokenrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
dataSet
Returns the value of thedataSetrecord component.- Returns:
- the value of the
dataSetrecord component
-
request
Returns the value of therequestrecord component.- Returns:
- the value of the
requestrecord component
-
storedQuery
Returns the value of thestoredQueryrecord component.- Returns:
- the value of the
storedQueryrecord component
-
draftRevision
public long draftRevision()Returns the value of thedraftRevisionrecord component.- Returns:
- the value of the
draftRevisionrecord component
-
token
public long token()Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-