Interface Installation

  • All Known Implementing Classes:
    ImmutableInstallation

    @Immutable
    public interface Installation
    The App Installation object.
    See Also:
    "https://developer.github.com/v3/apps/installations/"
    • Method Detail

      • id

        int id()
        The installation ID.
        Returns:
        the int
      • account

        User account()
        Account user.
        Returns:
        the user
      • accessTokensUrl

        String accessTokensUrl()
        Access tokens url.
        Returns:
        the url string
      • repositoriesUrl

        String repositoriesUrl()
        Repositories url.
        Returns:
        the url string
      • htmlUrl

        Optional<String> htmlUrl()
        Html URL to Github.
        Returns:
        the optional url
      • appId

        int appId()
        The APP ID the installations refers to.
        Returns:
        the int
      • targetId

        int targetId()
        The ID of the entity it is installed on. Usually a repo.
        Returns:
        the int
      • targetType

        String targetType()
        Target type. Can be Organization.
        Returns:
        the string
      • permissions

        Map<String,​String> permissions()
        Permissions map this installation has.
        Returns:
        the map
      • events

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

        Optional<String> singleFileName()
        Single file name optional.
        Returns:
        the optional
      • repositorySelection

        Optional<String> repositorySelection()
        Indicates if the App is installed in all repos of the org, or just selected. Can be all or selected.
        Returns:
        the optional string