You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: github/copilot.go
-137Lines changed: 0 additions & 137 deletions
Original file line number
Diff line number
Diff line change
@@ -66,39 +66,6 @@ type SeatCancellations struct {
66
66
SeatsCancelledint`json:"seats_cancelled"`
67
67
}
68
68
69
-
// CopilotUsageSummaryListOptions represents the optional parameters to the CopilotService.GetOrganizationUsage method.
70
-
typeCopilotUsageSummaryListOptionsstruct {
71
-
Since*time.Time`url:"since,omitempty"`
72
-
Until*time.Time`url:"until,omitempty"`
73
-
74
-
ListOptions
75
-
}
76
-
77
-
// CopilotUsageBreakdown represents the breakdown of Copilot usage for a specific language and editor.
78
-
typeCopilotUsageBreakdownstruct {
79
-
Languagestring`json:"language"`
80
-
Editorstring`json:"editor"`
81
-
SuggestionsCountint64`json:"suggestions_count"`
82
-
AcceptancesCountint64`json:"acceptances_count"`
83
-
LinesSuggestedint64`json:"lines_suggested"`
84
-
LinesAcceptedint64`json:"lines_accepted"`
85
-
ActiveUsersint`json:"active_users"`
86
-
}
87
-
88
-
// CopilotUsageSummary represents the daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE across an organization.
// GetEnterpriseTeamUsage gets daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for a team in the enterprise.
554
-
//
555
-
// GitHub API docs: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team
556
-
//
557
-
//meta:operation GET /enterprises/{enterprise}/team/{team_slug}/copilot/usage
// GetOrganizationTeamUsage gets daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for a team in the organization.
580
-
//
581
-
// GitHub API docs: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team
582
-
//
583
-
//meta:operation GET /orgs/{org}/team/{team_slug}/copilot/usage
0 commit comments