Interface Notification


  • @Immutable
    public interface Notification
    Github Notification.

    Use a supplementary "smart" decorator to get other properties from an notification.

    Since:
    0.19
    Version:
    $Id: 4c86e7155ad08c9772cf1b77612e04f3c79c61bc $
    Author:
    Paul Polishchuk (ppol@ua.fm)
    To do:
    #920 Create Smart decorator to get other properties of Notification, such as reason, unread, updated_at, last_read_at, url, etc. See https://developer.github.com/v3/activity/notifications/#view-a-single-thread for details. Don't forget about unit tests.
    • Method Detail

      • number

        long number()
        Notification id.
        Returns:
        Id