Record Class RemoteProfilesProvider.HttpCreateProfileRequest
java.lang.Object
java.lang.Record
pro.gravit.launchserver.auth.profiles.RemoteProfilesProvider.HttpCreateProfileRequest
- Enclosing class:
RemoteProfilesProvider
-
Constructor Summary
ConstructorsConstructorDescriptionHttpCreateProfileRequest(String name, String description, pro.gravit.launcher.base.profiles.ClientProfile profile) Creates an instance of aHttpCreateProfileRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.pro.gravit.launcher.base.profiles.ClientProfileprofile()Returns the value of theprofilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HttpCreateProfileRequest
public HttpCreateProfileRequest(String name, String description, pro.gravit.launcher.base.profiles.ClientProfile profile) Creates an instance of aHttpCreateProfileRequestrecord class.- Parameters:
name- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentprofile- the value for theprofilerecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
profile
public pro.gravit.launcher.base.profiles.ClientProfile profile()Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-