Package org.kohsuke.github
Class GHMarketplacePlanForAccountBuilder
- java.lang.Object
-
- org.kohsuke.github.GHMarketplacePlanForAccountBuilder
-
public class GHMarketplacePlanForAccountBuilder extends Object
Returns the plan associated with current account.- Author:
- Benoit Lacelle
- See Also:
GHMarketplacePlan.listAccounts(),GitHub.listMarketplacePlans()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GHMarketplaceAccountPlancreateRequest()Fetch the plan associated with the account specified on construction.GitHubgetRoot()Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.
-
-
-
Method Detail
-
createRequest
public GHMarketplaceAccountPlan createRequest() throws IOException
Fetch the plan associated with the account specified on construction.GitHub Apps must use a JWT to access this endpoint.
- Returns:
- a GHMarketplaceAccountPlan
- Throws:
IOException- on error
-
getRoot
@Deprecated public GitHub getRoot()
Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.Get the rootGitHubinstance for this object.- Returns:
- the root
GitHubinstance
-
-