Package org.kohsuke.github
Class GHMarketplaceListAccountBuilder
java.lang.Object
org.kohsuke.github.GHMarketplaceListAccountBuilder
Returns any accounts associated with a plan, including free plans.
- Author:
- Paulo Miguel Almeida
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionList any accounts associated with the plan specified on construction with all the order/sort parameters set.direction
(GHDirection direction) Orders the GitHub accounts results, Can be one of asc or desc.getRoot()
Deprecated.Sorts the GitHub accounts by the date they were created or last updated.
-
Method Details
-
sort
Sorts the GitHub accounts by the date they were created or last updated. Can be one of created or updated.If omitted, the default sorting strategy will be "CREATED"
- Parameters:
sort
- the sort strategy- Returns:
- a GHMarketplaceListAccountBuilder
-
direction
Orders the GitHub accounts results, Can be one of asc or desc. Ignored without the sort parameter.- Parameters:
direction
- the order strategy- Returns:
- a GHMarketplaceListAccountBuilder
-
createRequest
List any accounts associated with the plan specified on construction with all the order/sort parameters set.GitHub Apps must use a JWT to access this endpoint.
OAuth Apps must use basic authentication with their client ID and client secret to access this endpoint.
- Returns:
- a paged iterable instance of GHMarketplaceAccountPlan
- Throws:
IOException
- on error
-
getRoot
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-
GitHub
instance, use a local copy instead of pulling it out of objects.