Record Class SessionMcpServerToolsLoadedEvent.SessionMcpServerToolsLoadedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionMcpServerToolsLoadedEvent.SessionMcpServerToolsLoadedEventData
- Enclosing class:
SessionMcpServerToolsLoadedEvent
public static record SessionMcpServerToolsLoadedEvent.SessionMcpServerToolsLoadedEventData(String serverName, Long toolCount)
extends Record
Data payload for
SessionMcpServerToolsLoadedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMcpServerToolsLoadedEventData(String serverName, Long toolCount) Creates an instance of aSessionMcpServerToolsLoadedEventDatarecord 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 theserverNamerecord component.Returns the value of thetoolCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMcpServerToolsLoadedEventData
-
-
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). -
serverName
Returns the value of theserverNamerecord component.- Returns:
- the value of the
serverNamerecord component
-
toolCount
Returns the value of thetoolCountrecord component.- Returns:
- the value of the
toolCountrecord component
-