Class DiscordJoinRequest


  • public final class DiscordJoinRequest
    extends java.lang.Object
    Called when another discord user wants to join the game of the logged in user
    • Constructor Summary

      Constructors 
      Constructor Description
      DiscordJoinRequest​(java.lang.String userId, java.lang.String username, java.lang.String discriminator, java.lang.String avatar)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getAvatar()
      The avatar of the user that requests to join
      java.lang.String getDiscriminator()
      The discriminator of the user that requests to join
      java.lang.String getUserId()
      The userId for the user that requests to join
      java.lang.String getUsername()
      The username of the user that requests to join
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DiscordJoinRequest

        public DiscordJoinRequest​(java.lang.String userId,
                                  java.lang.String username,
                                  java.lang.String discriminator,
                                  java.lang.String avatar)
    • Method Detail

      • getUserId

        public java.lang.String getUserId()
        The userId for the user that requests to join
      • getUsername

        public java.lang.String getUsername()
        The username of the user that requests to join
      • getDiscriminator

        public java.lang.String getDiscriminator()
        The discriminator of the user that requests to join
      • getAvatar

        public java.lang.String getAvatar()
        The avatar of the user that requests to join
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object