Package com.spotify.github.v3.checks
Interface App
-
- All Known Implementing Classes:
ImmutableApp
@Immutable public interface App
The interface App.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ZonedDateTime
createdAt()
The date the App was created.String
description()
The App Description.List<String>
events()
Events list this App will consume, such as push, pull_request, etc.String
externalUrl()
External url string.String
htmlUrl()
Html url string.Integer
id()
The App ID.Optional<Integer>
installationsCount()
Installation count of the App.String
name()
The App nameMap<String,String>
permissions()
The permissions the installation of the app has.Optional<String>
slug()
The URL-friendly name of the GitHub App.ZonedDateTime
updatedAt()
The date the App was updated.
-
-
-
Method Detail
-
id
Integer id()
The App ID.- Returns:
- the ID
-
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
-
-