Record Class AuthStatusDto
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AuthStatusDto
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record AuthStatusDto(Boolean isAuthenticated, String activeLogin, String activeHost, String copilotPlan, Long accountCount)
extends Record
Neutral authentication status summary.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountCountrecord component.Returns the value of theactiveHostrecord component.Returns the value of theactiveLoginrecord component.Returns the value of thecopilotPlanrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theisAuthenticatedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AuthStatusDto
public AuthStatusDto(Boolean isAuthenticated, String activeLogin, String activeHost, String copilotPlan, Long accountCount) Creates an instance of aAuthStatusDtorecord class.- Parameters:
isAuthenticated- the value for theisAuthenticatedrecord componentactiveLogin- the value for theactiveLoginrecord componentactiveHost- the value for theactiveHostrecord componentcopilotPlan- the value for thecopilotPlanrecord componentaccountCount- the value for theaccountCountrecord 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). -
isAuthenticated
Returns the value of theisAuthenticatedrecord component.- Returns:
- the value of the
isAuthenticatedrecord component
-
activeLogin
Returns the value of theactiveLoginrecord component.- Returns:
- the value of the
activeLoginrecord component
-
activeHost
Returns the value of theactiveHostrecord component.- Returns:
- the value of the
activeHostrecord component
-
copilotPlan
Returns the value of thecopilotPlanrecord component.- Returns:
- the value of the
copilotPlanrecord component
-
accountCount
Returns the value of theaccountCountrecord component.- Returns:
- the value of the
accountCountrecord component
-