Record Class PlayerAttributes.Privileges
java.lang.Object
java.lang.Record
lol.trq.alts.account.PlayerAttributes.Privileges
- Record Components:
onlineChat- whether online chat is permittedmultiplayerServer- whether joining multiplayer servers is permittedmultiplayerRealms- whether joining Realms is permittedtelemetry- whether required telemetry is enabledoptionalTelemetry- whether optional telemetry is enabled
- Enclosing class:
PlayerAttributes
public static record PlayerAttributes.Privileges(Boolean onlineChat, Boolean multiplayerServer, Boolean multiplayerRealms, Boolean telemetry, Boolean optionalTelemetry)
extends Record
The privileges block. Each member is whether that privilege is enabled, or
null when the
service did not state it.- Since:
- 0.12.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themultiplayerRealmsrecord component.Returns the value of themultiplayerServerrecord component.Returns the value of theonlineChatrecord component.Returns the value of theoptionalTelemetryrecord component.Returns the value of thetelemetryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Privileges
public Privileges(Boolean onlineChat, Boolean multiplayerServer, Boolean multiplayerRealms, Boolean telemetry, Boolean optionalTelemetry) Creates an instance of aPrivilegesrecord class.- Parameters:
onlineChat- the value for theonlineChatrecord componentmultiplayerServer- the value for themultiplayerServerrecord componentmultiplayerRealms- the value for themultiplayerRealmsrecord componenttelemetry- the value for thetelemetryrecord componentoptionalTelemetry- the value for theoptionalTelemetryrecord 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). -
onlineChat
Returns the value of theonlineChatrecord component.- Returns:
- the value of the
onlineChatrecord component
-
multiplayerServer
Returns the value of themultiplayerServerrecord component.- Returns:
- the value of the
multiplayerServerrecord component
-
multiplayerRealms
Returns the value of themultiplayerRealmsrecord component.- Returns:
- the value of the
multiplayerRealmsrecord component
-
telemetry
-
optionalTelemetry
Returns the value of theoptionalTelemetryrecord component.- Returns:
- the value of the
optionalTelemetryrecord component
-