Record Class RemoteProfilesProvider.HttpUpdateProfileRequest
java.lang.Object
java.lang.Record
pro.gravit.launchserver.auth.profiles.RemoteProfilesProvider.HttpUpdateProfileRequest
- Enclosing class:
RemoteProfilesProvider
public static record RemoteProfilesProvider.HttpUpdateProfileRequest(pro.gravit.launcher.base.profiles.ClientProfile profile, pro.gravit.launcher.core.hasher.HashedDir clientDir, pro.gravit.launcher.core.hasher.HashedDir assetDir)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionHttpUpdateProfileRequest(pro.gravit.launcher.base.profiles.ClientProfile profile, pro.gravit.launcher.core.hasher.HashedDir clientDir, pro.gravit.launcher.core.hasher.HashedDir assetDir) Creates an instance of aHttpUpdateProfileRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionpro.gravit.launcher.core.hasher.HashedDirassetDir()Returns the value of theassetDirrecord component.pro.gravit.launcher.core.hasher.HashedDirReturns the value of theclientDirrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pro.gravit.launcher.base.profiles.ClientProfileprofile()Returns the value of theprofilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HttpUpdateProfileRequest
public HttpUpdateProfileRequest(pro.gravit.launcher.base.profiles.ClientProfile profile, pro.gravit.launcher.core.hasher.HashedDir clientDir, pro.gravit.launcher.core.hasher.HashedDir assetDir) Creates an instance of aHttpUpdateProfileRequestrecord class.- Parameters:
profile- the value for theprofilerecord componentclientDir- the value for theclientDirrecord componentassetDir- the value for theassetDirrecord 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). -
profile
public pro.gravit.launcher.base.profiles.ClientProfile profile()Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-
clientDir
public pro.gravit.launcher.core.hasher.HashedDir clientDir()Returns the value of theclientDirrecord component.- Returns:
- the value of the
clientDirrecord component
-
assetDir
public pro.gravit.launcher.core.hasher.HashedDir assetDir()Returns the value of theassetDirrecord component.- Returns:
- the value of the
assetDirrecord component
-