Record Class AuthValidationError
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AuthValidationError
@Generated("copilot-sdk-codegen")
public record AuthValidationError(String message, String gitHubMessage)
extends Record
Validation error from an authentication attempt.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAuthValidationError(String message, String gitHubMessage) Creates an instance of aAuthValidationErrorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegitHubMessagerecord component.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AuthValidationError
-
-
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). -
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
gitHubMessage
Returns the value of thegitHubMessagerecord component.- Returns:
- the value of the
gitHubMessagerecord component
-