Interface User

    • Method Detail

      • github

        Github github()
        Github we're in.
        Returns:
        Github
        Since:
        0.4
      • organizations

        UserOrganizations organizations()
        Get his organizations.
        Returns:
        UserOrganizations organizations
      • keys

        PublicKeys keys()
        Get his keys.
        Returns:
        PublicKeys keys
      • emails

        UserEmails emails()
        Get user's emails.
        Returns:
        User's emails
        Since:
        0.8
      • notifications

        Notifications notifications()
                             throws IOException
        Notifications for this user. Wraps the call "List your notifications". See "List your notifications" at https://developer.github.com/v3/activity/notifications/
        Returns:
        Notifications for this user.
        Throws:
        IOException - Thrown, if an error during sending request and/or receiving response occurs.
        See Also:
        List your notifications
      • markAsRead

        void markAsRead​(Date lastread)
                 throws IOException
        Marks notifications as read.
        Parameters:
        lastread - Describes the last point that notifications were checked.
        Throws:
        IOException - Thrown, if an error during sending request and/or receiving response occurs.
        See Also:
        Mark as read