Skip to content

Commit 69552a4

Browse files
authored
Add missing fields to MarketplacePlan and MarketplacePurchase structs. (google#1798)
1 parent c550a55 commit 69552a4

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

github/apps_marketplace.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type MarketplacePlan struct {
3030
URL *string `json:"url,omitempty"`
3131
AccountsURL *string `json:"accounts_url,omitempty"`
3232
ID *int64 `json:"id,omitempty"`
33+
Number *int `json:"number,omitempty"`
3334
Name *string `json:"name,omitempty"`
3435
Description *string `json:"description,omitempty"`
3536
MonthlyPriceInCents *int `json:"monthly_price_in_cents,omitempty"`
@@ -53,6 +54,7 @@ type MarketplacePurchase struct {
5354
Account *MarketplacePlanAccount `json:"account,omitempty"`
5455
OnFreeTrial *bool `json:"on_free_trial,omitempty"`
5556
FreeTrialEndsOn *Timestamp `json:"free_trial_ends_on,omitempty"`
57+
UpdatedAt *Timestamp `json:"updated_at,omitempty"`
5658
}
5759

5860
// MarketplacePendingChange represents a pending change to a GitHub Apps Marketplace Plan.

github/github-accessors.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)