Record Class MsaDeviceCodeLoginEvent
java.lang.Object
java.lang.Record
com.zenith.event.client.MsaDeviceCodeLoginEvent
public record MsaDeviceCodeLoginEvent(net.raphimc.minecraftauth.msa.model.MsaDeviceCode deviceCode)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMsaDeviceCodeLoginEvent(net.raphimc.minecraftauth.msa.model.MsaDeviceCode deviceCode) Creates an instance of aMsaDeviceCodeLoginEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionnet.raphimc.minecraftauth.msa.model.MsaDeviceCodeReturns the value of thedeviceCoderecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MsaDeviceCodeLoginEvent
public MsaDeviceCodeLoginEvent(net.raphimc.minecraftauth.msa.model.MsaDeviceCode deviceCode) Creates an instance of aMsaDeviceCodeLoginEventrecord class.- Parameters:
deviceCode- the value for thedeviceCoderecord 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). -
deviceCode
public net.raphimc.minecraftauth.msa.model.MsaDeviceCode deviceCode()Returns the value of thedeviceCoderecord component.- Returns:
- the value of the
deviceCoderecord component
-