|
3 | 3 | // To be able to interact with this API, you have to |
4 | 4 | // create a new service: |
5 | 5 | // |
6 | | -// s := heroku.NewService(nil) |
| 6 | +// s := heroku.NewService(nil) |
7 | 7 | // |
8 | 8 | // The Service struct has all the methods you need |
9 | 9 | // to interact with heroku API. |
10 | | -// |
11 | 10 | package v5 |
12 | 11 |
|
13 | 12 | import ( |
@@ -2142,7 +2141,6 @@ type EnterpriseAccountDailyUsageInfoResult []EnterpriseAccountDailyUsage |
2142 | 2141 | // from the [enterprise account |
2143 | 2142 | // list](https://devcenter.heroku.com/articles/platform-api-reference#ent |
2144 | 2143 | // erprise-account-list). |
2145 | | -// |
2146 | 2144 | func (s *Service) EnterpriseAccountDailyUsageInfo(ctx context.Context, enterpriseAccountID string, o EnterpriseAccountDailyUsageInfoOpts, lr *ListRange) (EnterpriseAccountDailyUsageInfoResult, error) { |
2147 | 2145 | var enterpriseAccountDailyUsage EnterpriseAccountDailyUsageInfoResult |
2148 | 2146 | return enterpriseAccountDailyUsage, s.Get(ctx, &enterpriseAccountDailyUsage, fmt.Sprintf("/enterprise-accounts/%v/usage/daily", enterpriseAccountID), o, lr) |
@@ -2255,7 +2253,6 @@ type EnterpriseAccountMonthlyUsageInfoResult []EnterpriseAccountMonthlyUsage |
2255 | 2253 | // [enterprise account |
2256 | 2254 | // list](https://devcenter.heroku.com/articles/platform-api-reference#ent |
2257 | 2255 | // erprise-account-list). |
2258 | | -// |
2259 | 2256 | func (s *Service) EnterpriseAccountMonthlyUsageInfo(ctx context.Context, enterpriseAccountID string, o EnterpriseAccountMonthlyUsageInfoOpts, lr *ListRange) (EnterpriseAccountMonthlyUsageInfoResult, error) { |
2260 | 2257 | var enterpriseAccountMonthlyUsage EnterpriseAccountMonthlyUsageInfoResult |
2261 | 2258 | return enterpriseAccountMonthlyUsage, s.Get(ctx, &enterpriseAccountMonthlyUsage, fmt.Sprintf("/enterprise-accounts/%v/usage/monthly", enterpriseAccountID), o, lr) |
@@ -2965,7 +2962,8 @@ func (s *Service) PasswordResetCompleteResetPassword(ctx context.Context, passwo |
2965 | 2962 | } |
2966 | 2963 |
|
2967 | 2964 | // [Peering](https://devcenter.heroku.com/articles/private-space-peering) |
2968 | | -// provides a way to peer your Private Space VPC to another AWS VPC. |
| 2965 | +// |
| 2966 | +// provides a way to peer your Private Space VPC to another AWS VPC. |
2969 | 2967 | type Peering struct { |
2970 | 2968 | AwsAccountID string `json:"aws_account_id" url:"aws_account_id,key"` // The AWS account ID of your Private Space. |
2971 | 2969 | AwsRegion string `json:"aws_region" url:"aws_region,key"` // The AWS region of the peer connection. |
@@ -4481,7 +4479,6 @@ type TeamDailyUsageInfoResult []TeamDailyUsage |
4481 | 4479 | // YYYY-MM-DD. The team identifier can be found from the [team list |
4482 | 4480 | // endpoint](https://devcenter.heroku.com/articles/platform-api-reference |
4483 | 4481 | // #team-list). |
4484 | | -// |
4485 | 4482 | func (s *Service) TeamDailyUsageInfo(ctx context.Context, teamID string, o TeamDailyUsageInfoOpts, lr *ListRange) (TeamDailyUsageInfoResult, error) { |
4486 | 4483 | var teamDailyUsage TeamDailyUsageInfoResult |
4487 | 4484 | return teamDailyUsage, s.Get(ctx, &teamDailyUsage, fmt.Sprintf("/teams/%v/usage/daily", teamID), o, lr) |
@@ -4788,7 +4785,6 @@ type TeamMonthlyUsageInfoResult []TeamMonthlyUsage |
4788 | 4785 | // The team identifier can be found from the [team list |
4789 | 4786 | // endpoint](https://devcenter.heroku.com/articles/platform-api-reference |
4790 | 4787 | // #team-list). |
4791 | | -// |
4792 | 4788 | func (s *Service) TeamMonthlyUsageInfo(ctx context.Context, teamID string, o TeamMonthlyUsageInfoOpts, lr *ListRange) (TeamMonthlyUsageInfoResult, error) { |
4793 | 4789 | var teamMonthlyUsage TeamMonthlyUsageInfoResult |
4794 | 4790 | return teamMonthlyUsage, s.Get(ctx, &teamMonthlyUsage, fmt.Sprintf("/teams/%v/usage/monthly", teamID), o, lr) |
|
0 commit comments