Record Class DebugMain.AuthorizationData
java.lang.Object
java.lang.Record
pro.gravit.launcher.runtime.debug.DebugMain.AuthorizationData
- Enclosing class:
DebugMain
public static record DebugMain.AuthorizationData(pro.gravit.launcher.base.events.request.AuthRequestEvent.OAuthRequestEvent event, pro.gravit.launcher.base.events.request.CurrentUserRequestEvent.UserInfo userInfo)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationData(pro.gravit.launcher.base.events.request.AuthRequestEvent.OAuthRequestEvent event, pro.gravit.launcher.base.events.request.CurrentUserRequestEvent.UserInfo userInfo) Creates an instance of aAuthorizationDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.pro.gravit.launcher.base.events.request.AuthRequestEvent.OAuthRequestEventevent()Returns the value of theeventrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.pro.gravit.launcher.base.events.request.CurrentUserRequestEvent.UserInfouserInfo()Returns the value of theuserInforecord component.
-
Constructor Details
-
AuthorizationData
public AuthorizationData(pro.gravit.launcher.base.events.request.AuthRequestEvent.OAuthRequestEvent event, pro.gravit.launcher.base.events.request.CurrentUserRequestEvent.UserInfo userInfo) Creates an instance of aAuthorizationDatarecord class.- Parameters:
event- the value for theeventrecord componentuserInfo- the value for theuserInforecord 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). -
event
public pro.gravit.launcher.base.events.request.AuthRequestEvent.OAuthRequestEvent event()Returns the value of theeventrecord component.- Returns:
- the value of the
eventrecord component
-
userInfo
public pro.gravit.launcher.base.events.request.CurrentUserRequestEvent.UserInfo userInfo()Returns the value of theuserInforecord component.- Returns:
- the value of the
userInforecord component
-