public class GHMarketplaceListAccountBuilder extends Object
GHMarketplacePlan.listAccounts()| Modifier and Type | Class and Description |
|---|---|
static class |
GHMarketplaceListAccountBuilder.Sort
The enum Sort.
|
| Modifier and Type | Method and Description |
|---|---|
PagedIterable<GHMarketplaceAccountPlan> |
createRequest()
List any accounts associated with the plan specified on construction with all the order/sort parameters set.
|
GHMarketplaceListAccountBuilder |
direction(GHDirection direction)
Orders the GitHub accounts results, Can be one of asc or desc.
|
GHMarketplaceListAccountBuilder |
sort(GHMarketplaceListAccountBuilder.Sort sort)
Sorts the GitHub accounts by the date they were created or last updated.
|
public GHMarketplaceListAccountBuilder sort(GHMarketplaceListAccountBuilder.Sort sort)
If omitted, the default sorting strategy will be "CREATED"
sort - the sort strategypublic GHMarketplaceListAccountBuilder direction(GHDirection direction)
direction - the order strategypublic PagedIterable<GHMarketplaceAccountPlan> createRequest() throws IOException
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.
IOException - on errorCopyright © 2020. All rights reserved.