Package com.spotify.github.v3.checks
Interface Installation
-
- All Known Implementing Classes:
ImmutableInstallation
@Immutable public interface InstallationThe App Installation object.- See Also:
- "https://developer.github.com/v3/apps/installations/"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringaccessTokensUrl()Access tokens url.Useraccount()Account user.intappId()The APP ID the installations refers to.List<String>events()Events list this installation will consume, such as push, pull_request, etc.Optional<String>htmlUrl()Html URL to Github.intid()The installation ID.Map<String,String>permissions()Permissions map this installation has.StringrepositoriesUrl()Repositories url.Optional<String>repositorySelection()Indicates if the App is installed in all repos of the org, or just selected.Optional<String>singleFileName()Single file name optional.inttargetId()The ID of the entity it is installed on.StringtargetType()Target type.
-
-
-
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
-
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
-
-