Record Class AuthLoginAccount
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AuthLoginAccount
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record AuthLoginAccount(String selectionId, String host, String login, AccountKind kind)
extends Record
A credential-free account choice after sign-in.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAuthLoginAccount(String selectionId, String host, String login, AccountKind kind) Creates an instance of aAuthLoginAccountrecord class. -
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.kind()Returns the value of thekindrecord component.login()Returns the value of theloginrecord component.Returns the value of theselectionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AuthLoginAccount
Creates an instance of aAuthLoginAccountrecord class.- Parameters:
selectionId- the value for theselectionIdrecord componenthost- the value for thehostrecord componentlogin- the value for theloginrecord componentkind- the value for thekindrecord 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). -
selectionId
Returns the value of theselectionIdrecord component.- Returns:
- the value of the
selectionIdrecord 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
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-