Record Class RequestOfflineModeAPIImpl.OfflineUser
java.lang.Object
java.lang.Record
pro.gravit.launcher.base.request.RequestOfflineModeAPIImpl.OfflineUser
- All Implemented Interfaces:
pro.gravit.launcher.core.api.model.SelfUser, pro.gravit.launcher.core.api.model.User
- Enclosing class:
RequestOfflineModeAPIImpl
-
Constructor Summary
ConstructorsConstructorDescriptionOfflineUser(String login) Creates an instance of aOfflineUserrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.pro.gravit.launcher.core.api.model.UserPermissionsgetUUID()final inthashCode()Returns a hash code value for this object.login()Returns the value of theloginrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OfflineUser
Creates an instance of aOfflineUserrecord class.- Parameters:
login- the value for theloginrecord component
-
-
Method Details
-
getAccessToken
- Specified by:
getAccessTokenin interfacepro.gravit.launcher.core.api.model.SelfUser
-
getPermissions
public pro.gravit.launcher.core.api.model.UserPermissions getPermissions()- Specified by:
getPermissionsin interfacepro.gravit.launcher.core.api.model.SelfUser
-
getUsername
- Specified by:
getUsernamein interfacepro.gravit.launcher.core.api.model.User
-
getUUID
- Specified by:
getUUIDin interfacepro.gravit.launcher.core.api.model.User
-
getAssets
-
getProperties
-
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). -
login
Returns the value of theloginrecord component.- Returns:
- the value of the
loginrecord component
-