Interface App

  • All Known Implementing Classes:
    ImmutableApp

    @Immutable
    public interface App
    The interface App.
    • Method Detail

      • id

        Integer id()
        The App ID.
        Returns:
        the ID
      • slug

        Optional<String> slug()
        The URL-friendly name of the GitHub App.
        Returns:
        the optional sting
      • name

        String name()
        The App name
        Returns:
        the string
      • description

        String description()
        The App Description.
        Returns:
        the string
      • externalUrl

        String externalUrl()
        External url string.
        Returns:
        the string
      • htmlUrl

        String htmlUrl()
        Html url string.
        Returns:
        the string
      • createdAt

        ZonedDateTime createdAt()
        The date the App was created.
        Returns:
        the zoned date time
      • updatedAt

        ZonedDateTime updatedAt()
        The date the App was updated.
        Returns:
        the zoned date time
      • permissions

        Map<String,​String> permissions()
        The permissions the installation of the app has.
        Returns:
        the map with permissions
        See Also:
        "https://developer.github.com/apps/building-github-apps/creating-github-apps-using-url -parameters/#github-app-permissions"
      • events

        List<String> events()
        Events list this App will consume, such as push, pull_request, etc.
        Returns:
        the list
      • installationsCount

        Optional<Integer> installationsCount()
        Installation count of the App.
        Returns:
        the optional count