Interface Notification


@Immutable public interface Notification
GitHub Notification.

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

Since:
0.19
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 Summary

    Modifier and Type
    Method
    Description
    long
    Notification id.
  • Method Details

    • number

      long number()
      Notification id.
      Returns:
      Id