Record Class AccountLoginParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AccountLoginParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record AccountLoginParams(String host, String login, String token)
extends Record
Credentials to store after successful authentication
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAccountLoginParams(String host, String login, String token) Creates an instance of aAccountLoginParamsrecord 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.login()Returns the value of theloginrecord component.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AccountLoginParams
-
-
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). -
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
-