Record Class AuthLoginResultDto
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AuthLoginResultDto
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record AuthLoginResultDto(AuthLoginResultStatus status, String host, String login, List<AuthLoginAccount> accounts)
extends Record
Result of an interactive login flow. Pending consent or account selection is not terminal.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAuthLoginResultDto(AuthLoginResultStatus status, String host, String login, List<AuthLoginAccount> accounts) Creates an instance of aAuthLoginResultDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccounts()Returns the value of theaccountsrecord component.final 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.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AuthLoginResultDto
public AuthLoginResultDto(AuthLoginResultStatus status, String host, String login, List<AuthLoginAccount> accounts) Creates an instance of aAuthLoginResultDtorecord class.- Parameters:
status- the value for thestatusrecord componenthost- the value for thehostrecord componentlogin- the value for theloginrecord componentaccounts- the value for theaccountsrecord 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). -
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord 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
-
accounts
Returns the value of theaccountsrecord component.- Returns:
- the value of the
accountsrecord component
-