Record Class SessionEndHookOutput
java.lang.Object
java.lang.Record
com.github.copilot.rpc.SessionEndHookOutput
- Record Components:
suppressOutput-trueto suppress output, ornullcleanupActions- the cleanup actions to perform, ornullsessionSummary- the session summary, ornull
-
Constructor Summary
ConstructorsConstructorDescriptionSessionEndHookOutput(Boolean suppressOutput, List<String> cleanupActions, String sessionSummary) Creates an instance of aSessionEndHookOutputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecleanupActionsrecord 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 thesessionSummaryrecord component.Returns the value of thesuppressOutputrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionEndHookOutput
public SessionEndHookOutput(Boolean suppressOutput, List<String> cleanupActions, String sessionSummary) Creates an instance of aSessionEndHookOutputrecord class.- Parameters:
suppressOutput- the value for thesuppressOutputrecord componentcleanupActions- the value for thecleanupActionsrecord componentsessionSummary- the value for thesessionSummaryrecord 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). -
suppressOutput
Returns the value of thesuppressOutputrecord component.- Returns:
- the value of the
suppressOutputrecord component
-
cleanupActions
Returns the value of thecleanupActionsrecord component.- Returns:
- the value of the
cleanupActionsrecord component
-
sessionSummary
Returns the value of thesessionSummaryrecord component.- Returns:
- the value of the
sessionSummaryrecord component
-