Record Class SessionConnectorsConnectParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionConnectorsConnectParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionConnectorsConnectParams(String sessionId, String accountId, String connectorName)
extends Record
Selects one Connector and the pinned host-owned account used for its service and MCP authorization.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionConnectorsConnectParams(String sessionId, String accountId, String connectorName) Creates an instance of aSessionConnectorsConnectParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountIdrecord component.Returns the value of theconnectorNamerecord 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 thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionConnectorsConnectParams
Creates an instance of aSessionConnectorsConnectParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentaccountId- the value for theaccountIdrecord componentconnectorName- the value for theconnectorNamerecord 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
-
accountId
Returns the value of theaccountIdrecord component.- Returns:
- the value of the
accountIdrecord component
-
connectorName
Returns the value of theconnectorNamerecord component.- Returns:
- the value of the
connectorNamerecord component
-