Package com.spotify.github.v3.checks
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
accessTokensUrl()
Access tokens url.User
account()
Account user.int
appId()
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.int
id()
The installation ID.Map<String,String>
permissions()
Permissions map this installation has.String
repositoriesUrl()
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.int
targetId()
The ID of the entity it is installed on.String
targetType()
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
-
-