Record Class AccountEndpoints
java.lang.Object
java.lang.Record
lol.trq.alts.account.AccountEndpoints
- Record Components:
base- the Minecraft services origin, without a trailing slash
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAccountEndpoints(String base) Substitutes the default base for a blank one, and trims any trailing slash. -
Method Summary
Modifier and TypeMethodDescriptionbase()Returns the value of thebaserecord component.static AccountEndpointsdefaults()Returns the endpoints for the public Minecraft services.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.
-
Field Details
-
DEFAULT_BASE
The public Minecraft services origin.- Since:
- 0.11.0
- See Also:
-
-
Constructor Details
-
AccountEndpoints
Substitutes the default base for a blank one, and trims any trailing slash.- Since:
- 0.11.0
-
-
Method Details
-
defaults
Returns the endpoints for the public Minecraft services.- Returns:
- the default endpoints
- Since:
- 0.11.0
-
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). -
base
-