Package com.github.copilot.sdk.events
Record Class ElicitationRequestedEvent.ElicitationRequestedData
java.lang.Object
java.lang.Record
com.github.copilot.sdk.events.ElicitationRequestedEvent.ElicitationRequestedData
- Enclosing class:
- ElicitationRequestedEvent
-
Constructor Summary
ConstructorsConstructorDescriptionElicitationRequestedData(String requestId, String toolCallId, String elicitationSource, String message, String mode, ElicitationRequestedEvent.ElicitationRequestedSchema requestedSchema, String url) Creates an instance of aElicitationRequestedDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theelicitationSourcerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.mode()Returns the value of themoderecord component.Returns the value of therequestedSchemarecord component.Returns the value of therequestIdrecord component.Returns the value of thetoolCallIdrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
ElicitationRequestedData
public ElicitationRequestedData(String requestId, String toolCallId, String elicitationSource, String message, String mode, ElicitationRequestedEvent.ElicitationRequestedSchema requestedSchema, String url) Creates an instance of aElicitationRequestedDatarecord class.- Parameters:
requestId- the value for therequestIdrecord componenttoolCallId- the value for thetoolCallIdrecord componentelicitationSource- the value for theelicitationSourcerecord componentmessage- the value for themessagerecord componentmode- the value for themoderecord componentrequestedSchema- the value for therequestedSchemarecord componenturl- the value for theurlrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
requestId
Returns the value of therequestIdrecord component.- Returns:
- the value of the
requestIdrecord component
-
toolCallId
Returns the value of thetoolCallIdrecord component.- Returns:
- the value of the
toolCallIdrecord component
-
elicitationSource
Returns the value of theelicitationSourcerecord component.- Returns:
- the value of the
elicitationSourcerecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
requestedSchema
Returns the value of therequestedSchemarecord component.- Returns:
- the value of the
requestedSchemarecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-