:calls: `GET /orgs/{org}/copilot/billing/seats `_
(self)
| 49 | return self._org_name.value |
| 50 | |
| 51 | def get_seats(self) -> PaginatedList[CopilotSeat]: |
| 52 | """ |
| 53 | :calls: `GET /orgs/{org}/copilot/billing/seats <https://docs.github.com/en/rest/copilot/copilot-business>`_ |
| 54 | """ |
| 55 | url = f"/orgs/{self._org_name.value}/copilot/billing/seats" |
| 56 | return PaginatedList( |
| 57 | github.CopilotSeat.CopilotSeat, |
| 58 | self._requester, |
| 59 | url, |
| 60 | None, |
| 61 | list_item="seats", |
| 62 | ) |
| 63 | |
| 64 | def add_seats(self, selected_usernames: list[str]) -> int: |
| 65 | """ |
no test coverage detected