Documentation
¶
Index ¶
- type AccountsRequestBuilder
- type AccountsWithAccount_ItemRequestBuilder
- func (m *AccountsWithAccount_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *AccountsWithAccount_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *AccountsWithAccount_ItemRequestBuilder) WithUrl(rawUrl string) *AccountsWithAccount_ItemRequestBuilder
- type Marketplace_listingRequestBuilder
- type PlansItemAccountsRequestBuilder
- type PlansItemAccountsRequestBuilderGetQueryParameters
- type PlansRequestBuilder
- func (m *PlansRequestBuilder) ByPlan_id(plan_id int32) *PlansWithPlan_ItemRequestBuilder
- func (m *PlansRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *PlansRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *PlansRequestBuilder) WithUrl(rawUrl string) *PlansRequestBuilder
- type PlansRequestBuilderGetQueryParameters
- type PlansWithPlan_ItemRequestBuilder
- type StubbedAccountsRequestBuilder
- type StubbedAccountsWithAccount_ItemRequestBuilder
- func (m *StubbedAccountsWithAccount_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *StubbedAccountsWithAccount_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *StubbedAccountsWithAccount_ItemRequestBuilder) WithUrl(rawUrl string) *StubbedAccountsWithAccount_ItemRequestBuilder
- type StubbedPlansItemAccountsRequestBuilder
- func (m *StubbedPlansItemAccountsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *StubbedPlansItemAccountsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *StubbedPlansItemAccountsRequestBuilder) WithUrl(rawUrl string) *StubbedPlansItemAccountsRequestBuilder
- type StubbedPlansItemAccountsRequestBuilderGetQueryParameters
- type StubbedPlansRequestBuilder
- func (m *StubbedPlansRequestBuilder) ByPlan_id(plan_id int32) *StubbedPlansWithPlan_ItemRequestBuilder
- func (m *StubbedPlansRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *StubbedPlansRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *StubbedPlansRequestBuilder) WithUrl(rawUrl string) *StubbedPlansRequestBuilder
- type StubbedPlansRequestBuilderGetQueryParameters
- type StubbedPlansWithPlan_ItemRequestBuilder
- type StubbedRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsRequestBuilder ¶
type AccountsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
AccountsRequestBuilder builds and executes requests for operations under \marketplace_listing\accounts
func NewAccountsRequestBuilder ¶
func NewAccountsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AccountsRequestBuilder
NewAccountsRequestBuilder instantiates a new AccountsRequestBuilder and sets the default values.
func NewAccountsRequestBuilderInternal ¶
func NewAccountsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AccountsRequestBuilder
NewAccountsRequestBuilderInternal instantiates a new AccountsRequestBuilder and sets the default values.
func (*AccountsRequestBuilder) ByAccount_id ¶
func (m *AccountsRequestBuilder) ByAccount_id(account_id int32) *AccountsWithAccount_ItemRequestBuilder
ByAccount_id gets an item from the github.com/octokit/go-sdk/pkg/github.marketplace_listing.accounts.item collection returns a *AccountsWithAccount_ItemRequestBuilder when successful
type AccountsWithAccount_ItemRequestBuilder ¶
type AccountsWithAccount_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
AccountsWithAccount_ItemRequestBuilder builds and executes requests for operations under \marketplace_listing\accounts\{account_id}
func NewAccountsWithAccount_ItemRequestBuilder ¶
func NewAccountsWithAccount_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AccountsWithAccount_ItemRequestBuilder
NewAccountsWithAccount_ItemRequestBuilder instantiates a new AccountsWithAccount_ItemRequestBuilder and sets the default values.
func NewAccountsWithAccount_ItemRequestBuilderInternal ¶
func NewAccountsWithAccount_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AccountsWithAccount_ItemRequestBuilder
NewAccountsWithAccount_ItemRequestBuilderInternal instantiates a new AccountsWithAccount_ItemRequestBuilder and sets the default values.
func (*AccountsWithAccount_ItemRequestBuilder) Get ¶
func (m *AccountsWithAccount_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MarketplacePurchaseable, error)
Get shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a MarketplacePurchaseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*AccountsWithAccount_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *AccountsWithAccount_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a *RequestInformation when successful
func (*AccountsWithAccount_ItemRequestBuilder) WithUrl ¶
func (m *AccountsWithAccount_ItemRequestBuilder) WithUrl(rawUrl string) *AccountsWithAccount_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *AccountsWithAccount_ItemRequestBuilder when successful
type Marketplace_listingRequestBuilder ¶
type Marketplace_listingRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
Marketplace_listingRequestBuilder builds and executes requests for operations under \marketplace_listing
func NewMarketplace_listingRequestBuilder ¶
func NewMarketplace_listingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Marketplace_listingRequestBuilder
NewMarketplace_listingRequestBuilder instantiates a new Marketplace_listingRequestBuilder and sets the default values.
func NewMarketplace_listingRequestBuilderInternal ¶
func NewMarketplace_listingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Marketplace_listingRequestBuilder
NewMarketplace_listingRequestBuilderInternal instantiates a new Marketplace_listingRequestBuilder and sets the default values.
func (*Marketplace_listingRequestBuilder) Accounts ¶
func (m *Marketplace_listingRequestBuilder) Accounts() *AccountsRequestBuilder
Accounts the accounts property returns a *AccountsRequestBuilder when successful
func (*Marketplace_listingRequestBuilder) Plans ¶
func (m *Marketplace_listingRequestBuilder) Plans() *PlansRequestBuilder
Plans the plans property returns a *PlansRequestBuilder when successful
func (*Marketplace_listingRequestBuilder) Stubbed ¶
func (m *Marketplace_listingRequestBuilder) Stubbed() *StubbedRequestBuilder
Stubbed the stubbed property returns a *StubbedRequestBuilder when successful
type PlansItemAccountsRequestBuilder ¶
type PlansItemAccountsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
PlansItemAccountsRequestBuilder builds and executes requests for operations under \marketplace_listing\plans\{plan_id}\accounts
func NewPlansItemAccountsRequestBuilder ¶
func NewPlansItemAccountsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PlansItemAccountsRequestBuilder
NewPlansItemAccountsRequestBuilder instantiates a new PlansItemAccountsRequestBuilder and sets the default values.
func NewPlansItemAccountsRequestBuilderInternal ¶
func NewPlansItemAccountsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PlansItemAccountsRequestBuilder
NewPlansItemAccountsRequestBuilderInternal instantiates a new PlansItemAccountsRequestBuilder and sets the default values.
func (*PlansItemAccountsRequestBuilder) Get ¶
func (m *PlansItemAccountsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PlansItemAccountsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MarketplacePurchaseable, error)
Get returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a []MarketplacePurchaseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*PlansItemAccountsRequestBuilder) ToGetRequestInformation ¶
func (m *PlansItemAccountsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PlansItemAccountsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a *RequestInformation when successful
func (*PlansItemAccountsRequestBuilder) WithUrl ¶
func (m *PlansItemAccountsRequestBuilder) WithUrl(rawUrl string) *PlansItemAccountsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *PlansItemAccountsRequestBuilder when successful
type PlansItemAccountsRequestBuilderGetQueryParameters ¶
type PlansItemAccountsRequestBuilderGetQueryParameters struct { // To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. Direction *i56b9d03293585ca583bbb85dc6c217737665c7595f6e6dc578f5a52298ca9b7b.GetDirectionQueryParameterType `uriparametername:"direction"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // The property to sort the results by. Sort *i56b9d03293585ca583bbb85dc6c217737665c7595f6e6dc578f5a52298ca9b7b.GetSortQueryParameterType `uriparametername:"sort"` }
PlansItemAccountsRequestBuilderGetQueryParameters returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.
type PlansRequestBuilder ¶
type PlansRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
PlansRequestBuilder builds and executes requests for operations under \marketplace_listing\plans
func NewPlansRequestBuilder ¶
func NewPlansRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PlansRequestBuilder
NewPlansRequestBuilder instantiates a new PlansRequestBuilder and sets the default values.
func NewPlansRequestBuilderInternal ¶
func NewPlansRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PlansRequestBuilder
NewPlansRequestBuilderInternal instantiates a new PlansRequestBuilder and sets the default values.
func (*PlansRequestBuilder) ByPlan_id ¶
func (m *PlansRequestBuilder) ByPlan_id(plan_id int32) *PlansWithPlan_ItemRequestBuilder
ByPlan_id gets an item from the github.com/octokit/go-sdk/pkg/github.marketplace_listing.plans.item collection returns a *PlansWithPlan_ItemRequestBuilder when successful
func (*PlansRequestBuilder) Get ¶
func (m *PlansRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PlansRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MarketplaceListingPlanable, error)
Get lists all plans that are part of your GitHub Marketplace listing.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a []MarketplaceListingPlanable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*PlansRequestBuilder) ToGetRequestInformation ¶
func (m *PlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PlansRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all plans that are part of your GitHub Marketplace listing.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a *RequestInformation when successful
func (*PlansRequestBuilder) WithUrl ¶
func (m *PlansRequestBuilder) WithUrl(rawUrl string) *PlansRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *PlansRequestBuilder when successful
type PlansRequestBuilderGetQueryParameters ¶
type PlansRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
PlansRequestBuilderGetQueryParameters lists all plans that are part of your GitHub Marketplace listing.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.
type PlansWithPlan_ItemRequestBuilder ¶
type PlansWithPlan_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
PlansWithPlan_ItemRequestBuilder builds and executes requests for operations under \marketplace_listing\plans\{plan_id}
func NewPlansWithPlan_ItemRequestBuilder ¶
func NewPlansWithPlan_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PlansWithPlan_ItemRequestBuilder
NewPlansWithPlan_ItemRequestBuilder instantiates a new PlansWithPlan_ItemRequestBuilder and sets the default values.
func NewPlansWithPlan_ItemRequestBuilderInternal ¶
func NewPlansWithPlan_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PlansWithPlan_ItemRequestBuilder
NewPlansWithPlan_ItemRequestBuilderInternal instantiates a new PlansWithPlan_ItemRequestBuilder and sets the default values.
func (*PlansWithPlan_ItemRequestBuilder) Accounts ¶
func (m *PlansWithPlan_ItemRequestBuilder) Accounts() *PlansItemAccountsRequestBuilder
Accounts the accounts property returns a *PlansItemAccountsRequestBuilder when successful
type StubbedAccountsRequestBuilder ¶
type StubbedAccountsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
StubbedAccountsRequestBuilder builds and executes requests for operations under \marketplace_listing\stubbed\accounts
func NewStubbedAccountsRequestBuilder ¶
func NewStubbedAccountsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedAccountsRequestBuilder
NewStubbedAccountsRequestBuilder instantiates a new StubbedAccountsRequestBuilder and sets the default values.
func NewStubbedAccountsRequestBuilderInternal ¶
func NewStubbedAccountsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedAccountsRequestBuilder
NewStubbedAccountsRequestBuilderInternal instantiates a new StubbedAccountsRequestBuilder and sets the default values.
func (*StubbedAccountsRequestBuilder) ByAccount_id ¶
func (m *StubbedAccountsRequestBuilder) ByAccount_id(account_id int32) *StubbedAccountsWithAccount_ItemRequestBuilder
ByAccount_id gets an item from the github.com/octokit/go-sdk/pkg/github.marketplace_listing.stubbed.accounts.item collection returns a *StubbedAccountsWithAccount_ItemRequestBuilder when successful
type StubbedAccountsWithAccount_ItemRequestBuilder ¶
type StubbedAccountsWithAccount_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
StubbedAccountsWithAccount_ItemRequestBuilder builds and executes requests for operations under \marketplace_listing\stubbed\accounts\{account_id}
func NewStubbedAccountsWithAccount_ItemRequestBuilder ¶
func NewStubbedAccountsWithAccount_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedAccountsWithAccount_ItemRequestBuilder
NewStubbedAccountsWithAccount_ItemRequestBuilder instantiates a new StubbedAccountsWithAccount_ItemRequestBuilder and sets the default values.
func NewStubbedAccountsWithAccount_ItemRequestBuilderInternal ¶
func NewStubbedAccountsWithAccount_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedAccountsWithAccount_ItemRequestBuilder
NewStubbedAccountsWithAccount_ItemRequestBuilderInternal instantiates a new StubbedAccountsWithAccount_ItemRequestBuilder and sets the default values.
func (*StubbedAccountsWithAccount_ItemRequestBuilder) Get ¶
func (m *StubbedAccountsWithAccount_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MarketplacePurchaseable, error)
Get shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a MarketplacePurchaseable when successful returns a BasicError error when the service returns a 401 status code API method documentation
func (*StubbedAccountsWithAccount_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *StubbedAccountsWithAccount_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a *RequestInformation when successful
func (*StubbedAccountsWithAccount_ItemRequestBuilder) WithUrl ¶
func (m *StubbedAccountsWithAccount_ItemRequestBuilder) WithUrl(rawUrl string) *StubbedAccountsWithAccount_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *StubbedAccountsWithAccount_ItemRequestBuilder when successful
type StubbedPlansItemAccountsRequestBuilder ¶
type StubbedPlansItemAccountsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
StubbedPlansItemAccountsRequestBuilder builds and executes requests for operations under \marketplace_listing\stubbed\plans\{plan_id}\accounts
func NewStubbedPlansItemAccountsRequestBuilder ¶
func NewStubbedPlansItemAccountsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedPlansItemAccountsRequestBuilder
NewStubbedPlansItemAccountsRequestBuilder instantiates a new StubbedPlansItemAccountsRequestBuilder and sets the default values.
func NewStubbedPlansItemAccountsRequestBuilderInternal ¶
func NewStubbedPlansItemAccountsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedPlansItemAccountsRequestBuilder
NewStubbedPlansItemAccountsRequestBuilderInternal instantiates a new StubbedPlansItemAccountsRequestBuilder and sets the default values.
func (*StubbedPlansItemAccountsRequestBuilder) Get ¶
func (m *StubbedPlansItemAccountsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[StubbedPlansItemAccountsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MarketplacePurchaseable, error)
Get returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a []MarketplacePurchaseable when successful returns a BasicError error when the service returns a 401 status code API method documentation
func (*StubbedPlansItemAccountsRequestBuilder) ToGetRequestInformation ¶
func (m *StubbedPlansItemAccountsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[StubbedPlansItemAccountsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a *RequestInformation when successful
func (*StubbedPlansItemAccountsRequestBuilder) WithUrl ¶
func (m *StubbedPlansItemAccountsRequestBuilder) WithUrl(rawUrl string) *StubbedPlansItemAccountsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *StubbedPlansItemAccountsRequestBuilder when successful
type StubbedPlansItemAccountsRequestBuilderGetQueryParameters ¶
type StubbedPlansItemAccountsRequestBuilderGetQueryParameters struct { // To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. Direction *ib2201bb0242d254ae6bcc1c5b32345ae2ac3863ba8e87cb7a02fb6b325aff8aa.GetDirectionQueryParameterType `uriparametername:"direction"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // The property to sort the results by. Sort *ib2201bb0242d254ae6bcc1c5b32345ae2ac3863ba8e87cb7a02fb6b325aff8aa.GetSortQueryParameterType `uriparametername:"sort"` }
StubbedPlansItemAccountsRequestBuilderGetQueryParameters returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.
type StubbedPlansRequestBuilder ¶
type StubbedPlansRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
StubbedPlansRequestBuilder builds and executes requests for operations under \marketplace_listing\stubbed\plans
func NewStubbedPlansRequestBuilder ¶
func NewStubbedPlansRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedPlansRequestBuilder
NewStubbedPlansRequestBuilder instantiates a new StubbedPlansRequestBuilder and sets the default values.
func NewStubbedPlansRequestBuilderInternal ¶
func NewStubbedPlansRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedPlansRequestBuilder
NewStubbedPlansRequestBuilderInternal instantiates a new StubbedPlansRequestBuilder and sets the default values.
func (*StubbedPlansRequestBuilder) ByPlan_id ¶
func (m *StubbedPlansRequestBuilder) ByPlan_id(plan_id int32) *StubbedPlansWithPlan_ItemRequestBuilder
ByPlan_id gets an item from the github.com/octokit/go-sdk/pkg/github.marketplace_listing.stubbed.plans.item collection returns a *StubbedPlansWithPlan_ItemRequestBuilder when successful
func (*StubbedPlansRequestBuilder) Get ¶
func (m *StubbedPlansRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[StubbedPlansRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MarketplaceListingPlanable, error)
Get lists all plans that are part of your GitHub Marketplace listing.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a []MarketplaceListingPlanable when successful returns a BasicError error when the service returns a 401 status code API method documentation
func (*StubbedPlansRequestBuilder) ToGetRequestInformation ¶
func (m *StubbedPlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[StubbedPlansRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all plans that are part of your GitHub Marketplace listing.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint. returns a *RequestInformation when successful
func (*StubbedPlansRequestBuilder) WithUrl ¶
func (m *StubbedPlansRequestBuilder) WithUrl(rawUrl string) *StubbedPlansRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *StubbedPlansRequestBuilder when successful
type StubbedPlansRequestBuilderGetQueryParameters ¶
type StubbedPlansRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
StubbedPlansRequestBuilderGetQueryParameters lists all plans that are part of your GitHub Marketplace listing.GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) with their client ID and client secret to access this endpoint.
type StubbedPlansWithPlan_ItemRequestBuilder ¶
type StubbedPlansWithPlan_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
StubbedPlansWithPlan_ItemRequestBuilder builds and executes requests for operations under \marketplace_listing\stubbed\plans\{plan_id}
func NewStubbedPlansWithPlan_ItemRequestBuilder ¶
func NewStubbedPlansWithPlan_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedPlansWithPlan_ItemRequestBuilder
NewStubbedPlansWithPlan_ItemRequestBuilder instantiates a new StubbedPlansWithPlan_ItemRequestBuilder and sets the default values.
func NewStubbedPlansWithPlan_ItemRequestBuilderInternal ¶
func NewStubbedPlansWithPlan_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedPlansWithPlan_ItemRequestBuilder
NewStubbedPlansWithPlan_ItemRequestBuilderInternal instantiates a new StubbedPlansWithPlan_ItemRequestBuilder and sets the default values.
func (*StubbedPlansWithPlan_ItemRequestBuilder) Accounts ¶
func (m *StubbedPlansWithPlan_ItemRequestBuilder) Accounts() *StubbedPlansItemAccountsRequestBuilder
Accounts the accounts property returns a *StubbedPlansItemAccountsRequestBuilder when successful
type StubbedRequestBuilder ¶
type StubbedRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
StubbedRequestBuilder builds and executes requests for operations under \marketplace_listing\stubbed
func NewStubbedRequestBuilder ¶
func NewStubbedRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedRequestBuilder
NewStubbedRequestBuilder instantiates a new StubbedRequestBuilder and sets the default values.
func NewStubbedRequestBuilderInternal ¶
func NewStubbedRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StubbedRequestBuilder
NewStubbedRequestBuilderInternal instantiates a new StubbedRequestBuilder and sets the default values.
func (*StubbedRequestBuilder) Accounts ¶
func (m *StubbedRequestBuilder) Accounts() *StubbedAccountsRequestBuilder
Accounts the accounts property returns a *StubbedAccountsRequestBuilder when successful
func (*StubbedRequestBuilder) Plans ¶
func (m *StubbedRequestBuilder) Plans() *StubbedPlansRequestBuilder
Plans the plans property returns a *StubbedPlansRequestBuilder when successful
Source Files
¶
- accounts_request_builder.go
- accounts_with_account_item_request_builder.go
- marketplace_listing_request_builder.go
- plans_item_accounts_request_builder.go
- plans_request_builder.go
- plans_with_plan_item_request_builder.go
- stubbed_accounts_request_builder.go
- stubbed_accounts_with_account_item_request_builder.go
- stubbed_plans_item_accounts_request_builder.go
- stubbed_plans_request_builder.go
- stubbed_plans_with_plan_item_request_builder.go
- stubbed_request_builder.go