Record Class EncryptedCredentials
java.lang.Object
java.lang.Record
org.teleight.teleightbots.api.objects.EncryptedCredentials
- All Implemented Interfaces:
Serializable, ApiResult
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptedCredentials(String data, String hash, String secret) Creates an instance of aEncryptedCredentialsrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.hash()Returns the value of thehashrecord component.final inthashCode()Returns a hash code value for this object.secret()Returns the value of thesecretrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EncryptedCredentials
-
-
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). -
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
hash
Returns the value of thehashrecord component.- Returns:
- the value of the
hashrecord component
-
secret
Returns the value of thesecretrecord component.- Returns:
- the value of the
secretrecord component
-