Record Class SessionMcpOauthCancelLoginParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMcpOauthCancelLoginParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionMcpOauthCancelLoginParams(String sessionId, String expectedInstallationId, String loginId)
extends Record
Targets only the original prepared/applying owned login on this exact session requester.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMcpOauthCancelLoginParams(String sessionId, String expectedInstallationId, String loginId) Creates an instance of aSessionMcpOauthCancelLoginParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedInstallationIdrecord component.final inthashCode()Returns a hash code value for this object.loginId()Returns the value of theloginIdrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMcpOauthCancelLoginParams
public SessionMcpOauthCancelLoginParams(String sessionId, String expectedInstallationId, String loginId) Creates an instance of aSessionMcpOauthCancelLoginParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentexpectedInstallationId- the value for theexpectedInstallationIdrecord componentloginId- the value for theloginIdrecord 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
-
expectedInstallationId
Returns the value of theexpectedInstallationIdrecord component.- Returns:
- the value of the
expectedInstallationIdrecord component
-
loginId
Returns the value of theloginIdrecord component.- Returns:
- the value of the
loginIdrecord component
-