Record Class SessionMcpOauthPrepareLoginResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMcpOauthPrepareLoginResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionMcpOauthPrepareLoginResult(String loginId, OffsetDateTime expiresAt)
extends Record
An inert runtime-issued login handle. Preparation alone performs no activation or OAuth work.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMcpOauthPrepareLoginResult(String loginId, OffsetDateTime expiresAt) Creates an instance of aSessionMcpOauthPrepareLoginResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiresAtrecord component.final inthashCode()Returns a hash code value for this object.loginId()Returns the value of theloginIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMcpOauthPrepareLoginResult
Creates an instance of aSessionMcpOauthPrepareLoginResultrecord class.- Parameters:
loginId- the value for theloginIdrecord componentexpiresAt- the value for theexpiresAtrecord 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). -
loginId
Returns the value of theloginIdrecord component.- Returns:
- the value of the
loginIdrecord component
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-