Record Class CAPreferenceServerUsernamePassword
java.lang.Object
java.lang.Record
com.io7m.cardant.client.preferences.api.CAPreferenceServerUsernamePassword
- Record Components:
username- The user namepassword- The password
- All Implemented Interfaces:
CAPreferenceServerCredentialsType
public record CAPreferenceServerUsernamePassword(String username, String password)
extends Record
implements CAPreferenceServerCredentialsType
A username/password credential set.
-
Constructor Summary
ConstructorsConstructorDescriptionCAPreferenceServerUsernamePassword(String username, String password) A username/password credential set. -
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.password()Returns the value of thepasswordrecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.
-
Constructor Details
-
CAPreferenceServerUsernamePassword
-
-
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). -
username
-
password
-