octomachinery.github.models package¶
Submodules¶
Module contents¶
Models representing objects in GitHub API.
- class octomachinery.github.models.GitHubAppInstallation(id, app_id, app_slug, created_at, updated_at, account: Dict[str, Any], events: List[str], permissions: Dict[str, Any], repository_selection, single_file_name: str | None, target_id, target_type: str, access_tokens_url, html_url, repositories_url, suspended_at: str | None, suspended_by: str | None, has_multiple_single_files: bool | None, single_file_paths: List[str])[source]¶
Bases:
objectRepresents a GitHub App installed into a user or an organization profile.
It has its own ID for installation which is a unique combo of an app and a profile (user or org).
- class octomachinery.github.models.GitHubInstallationAccessToken(token, expires_at, permissions: Dict[str, str], repository_selection, repositories=[], single_file: str | None = None, has_multiple_single_files: bool | None = False, single_file_paths: List[str] = None)[source]¶
Bases:
objectStruct for installation access token response from GitHub API.