Record Class SessionGitHubAuthLoginParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionGitHubAuthLoginParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionGitHubAuthLoginParams(String sessionId, String host, String login, String token, Boolean persist)
extends Record
Internal GitHub login parameters.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.host()Returns the value of thehostrecord component.login()Returns the value of theloginrecord component.persist()Returns the value of thepersistrecord component.Returns the value of thesessionIdrecord component.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionGitHubAuthLoginParams
public SessionGitHubAuthLoginParams(String sessionId, String host, String login, String token, Boolean persist) Creates an instance of aSessionGitHubAuthLoginParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componenthost- the value for thehostrecord componentlogin- the value for theloginrecord componenttoken- the value for thetokenrecord componentpersist- the value for thepersistrecord 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
-
host
Returns the value of thehostrecord component.- Returns:
- the value of the
hostrecord component
-
login
Returns the value of theloginrecord component.- Returns:
- the value of the
loginrecord component
-
token
Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-
persist
Returns the value of thepersistrecord component.- Returns:
- the value of the
persistrecord component
-