Package de.jcm.discordgamesdk.user
Class Relationship
java.lang.Object
de.jcm.discordgamesdk.user.Relationship
The relationship between a user and the current user.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the Presence of the user which the current user has an relationship with.getType()
Gets the type of the relationship between the user and the current user.getUser()
Gets the user the current user has the relationship with.toString()
Generates a string representation of the relationship containing all its attributes.
-
Constructor Details
-
Relationship
-
-
Method Details
-
getType
Gets the type of the relationship between the user and the current user.- Returns:
- The type of the relationship
-
getUser
Gets the user the current user has the relationship with.- Returns:
- Another user
-
getPresence
Gets the Presence of the user which the current user has an relationship with.- Returns:
- The user's presence.
-
toString
Generates a string representation of the relationship containing all its attributes.
This is just one of IntelliJ IDEA's default
toString()
-Methods, so don't expect anything special.
-