Interface Team

    • Method Detail

      • getIcon

        java.util.Optional<Icon> getIcon()
        Gets the icon of the team.
        Returns:
        The icon of the team.
      • getTeamMembers

        java.util.Set<TeamMember> getTeamMembers()
        Gets the members of the team.
        Returns:
        The members of the team.
      • getOwnerId

        long getOwnerId()
        Gets the id of the owner.
        Returns:
        The id of the owner.
      • getName

        java.lang.String getName()
        Gets the name of the team.
        Specified by:
        getName in interface Nameable
        Returns:
        The name of the team.
      • requestOwner

        default java.util.concurrent.CompletableFuture<User> requestOwner()
        Requests the owner of the team.
        Returns:
        The owner of the team.