Record Class SessionMcpAppsCallToolParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMcpAppsCallToolParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentsrecord 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 theoriginServerNamerecord component.Returns the value of theserverNamerecord component.Returns the value of thesessionIdrecord component.toolName()Returns the value of thetoolNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMcpAppsCallToolParams
public SessionMcpAppsCallToolParams(String sessionId, String serverName, String toolName, Map<String, Object> arguments, String originServerName) Creates an instance of aSessionMcpAppsCallToolParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentserverName- the value for theserverNamerecord componenttoolName- the value for thetoolNamerecord componentarguments- the value for theargumentsrecord componentoriginServerName- the value for theoriginServerNamerecord 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). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
serverName
Returns the value of theserverNamerecord component.- Returns:
- the value of the
serverNamerecord component
-
toolName
Returns the value of thetoolNamerecord component.- Returns:
- the value of the
toolNamerecord component
-
arguments
-
originServerName
Returns the value of theoriginServerNamerecord component.- Returns:
- the value of the
originServerNamerecord component
-