Record Class TaskCompletionDecision
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.TaskCompletionDecision
@Generated("copilot-sdk-codegen")
public record TaskCompletionDecision(TaskCompletionOutcome outcome, String reason, Boolean reviewerDerived, Object reviewerResultMeta, Long objectiveId, Boolean completionRejectionBudgetExhausted, Long completionEligibilityToken)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTaskCompletionDecision(TaskCompletionOutcome outcome, String reason, Boolean reviewerDerived, Object reviewerResultMeta, Long objectiveId, Boolean completionRejectionBudgetExhausted, Long completionEligibilityToken) Creates an instance of aTaskCompletionDecisionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompletionEligibilityTokenrecord component.Returns the value of thecompletionRejectionBudgetExhaustedrecord 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 theobjectiveIdrecord component.outcome()Returns the value of theoutcomerecord component.reason()Returns the value of thereasonrecord component.Returns the value of thereviewerDerivedrecord component.Returns the value of thereviewerResultMetarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TaskCompletionDecision
public TaskCompletionDecision(TaskCompletionOutcome outcome, String reason, Boolean reviewerDerived, Object reviewerResultMeta, Long objectiveId, Boolean completionRejectionBudgetExhausted, Long completionEligibilityToken) Creates an instance of aTaskCompletionDecisionrecord class.- Parameters:
outcome- the value for theoutcomerecord componentreason- the value for thereasonrecord componentreviewerDerived- the value for thereviewerDerivedrecord componentreviewerResultMeta- the value for thereviewerResultMetarecord componentobjectiveId- the value for theobjectiveIdrecord componentcompletionRejectionBudgetExhausted- the value for thecompletionRejectionBudgetExhaustedrecord componentcompletionEligibilityToken- the value for thecompletionEligibilityTokenrecord 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). -
outcome
Returns the value of theoutcomerecord component.- Returns:
- the value of the
outcomerecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
reviewerDerived
Returns the value of thereviewerDerivedrecord component.- Returns:
- the value of the
reviewerDerivedrecord component
-
reviewerResultMeta
Returns the value of thereviewerResultMetarecord component.- Returns:
- the value of the
reviewerResultMetarecord component
-
objectiveId
Returns the value of theobjectiveIdrecord component.- Returns:
- the value of the
objectiveIdrecord component
-
completionRejectionBudgetExhausted
Returns the value of thecompletionRejectionBudgetExhaustedrecord component.- Returns:
- the value of the
completionRejectionBudgetExhaustedrecord component
-
completionEligibilityToken
Returns the value of thecompletionEligibilityTokenrecord component.- Returns:
- the value of the
completionEligibilityTokenrecord component
-