Record Class SessionMcpOauthPrepareLoginParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMcpOauthPrepareLoginParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionMcpOauthPrepareLoginParams(String sessionId, String serverName, String expectedInstallationId, Boolean forceReauth, String clientName, String callbackSuccessMessage)
extends Record
Effect-free preparation bound to the existing local session, requester and installation, with frozen options.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecallbackSuccessMessagerecord component.Returns the value of theclientNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedInstallationIdrecord component.Returns the value of theforceReauthrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theserverNamerecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMcpOauthPrepareLoginParams
public SessionMcpOauthPrepareLoginParams(String sessionId, String serverName, String expectedInstallationId, Boolean forceReauth, String clientName, String callbackSuccessMessage) Creates an instance of aSessionMcpOauthPrepareLoginParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentserverName- the value for theserverNamerecord componentexpectedInstallationId- the value for theexpectedInstallationIdrecord componentforceReauth- the value for theforceReauthrecord componentclientName- the value for theclientNamerecord componentcallbackSuccessMessage- the value for thecallbackSuccessMessagerecord 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
-
expectedInstallationId
Returns the value of theexpectedInstallationIdrecord component.- Returns:
- the value of the
expectedInstallationIdrecord component
-
forceReauth
Returns the value of theforceReauthrecord component.- Returns:
- the value of the
forceReauthrecord component
-
clientName
Returns the value of theclientNamerecord component.- Returns:
- the value of the
clientNamerecord component
-
callbackSuccessMessage
Returns the value of thecallbackSuccessMessagerecord component.- Returns:
- the value of the
callbackSuccessMessagerecord component
-