Record Class HookStartEvent.HookStartEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.HookStartEvent.HookStartEventData
- Enclosing class:
HookStartEvent
-
Constructor Summary
ConstructorsConstructorDescriptionHookStartEventData(String hookInvocationId, String hookType, Object input, String parentToolCallId) Creates an instance of aHookStartEventDatarecord 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.Returns the value of thehookInvocationIdrecord component.hookType()Returns the value of thehookTyperecord component.input()Returns the value of theinputrecord component.Returns the value of theparentToolCallIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HookStartEventData
public HookStartEventData(String hookInvocationId, String hookType, Object input, String parentToolCallId) Creates an instance of aHookStartEventDatarecord class.- Parameters:
hookInvocationId- the value for thehookInvocationIdrecord componenthookType- the value for thehookTyperecord componentinput- the value for theinputrecord componentparentToolCallId- the value for theparentToolCallIdrecord 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). -
hookInvocationId
Returns the value of thehookInvocationIdrecord component.- Returns:
- the value of the
hookInvocationIdrecord component
-
hookType
Returns the value of thehookTyperecord component.- Returns:
- the value of the
hookTyperecord component
-
input
Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-
parentToolCallId
Returns the value of theparentToolCallIdrecord component.- Returns:
- the value of the
parentToolCallIdrecord component
-