Class GenericRelationshipEvent
- java.lang.Object
-
- net.dv8tion.jda.core.events.Event
-
- net.dv8tion.jda.client.events.relationship.GenericRelationshipEvent
-
- Direct Known Subclasses:
GenericRelationshipAddEvent
,GenericRelationshipRemoveEvent
public abstract class GenericRelationshipEvent extends Event
-
-
Constructor Summary
Constructors Constructor Description GenericRelationshipEvent(JDA api, long responseNumber, Relationship relationship)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Relationship
getRelationship()
RelationshipType
getRelationshipType()
User
getUser()
-
Methods inherited from class net.dv8tion.jda.core.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
GenericRelationshipEvent
public GenericRelationshipEvent(JDA api, long responseNumber, Relationship relationship)
-
-
Method Detail
-
getRelationship
public Relationship getRelationship()
-
getRelationshipType
public RelationshipType getRelationshipType()
-
getUser
public User getUser()
-
-