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:
  • Method Details

    • 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 the GitHub instance, use a local copy instead of pulling it out of objects.
      Get the root GitHub instance for this object.
      Returns:
      the root GitHub instance