GitHubAppInstallationEventRepoModel#

pydantic model safir.github.webhooks.GitHubAppInstallationEventRepoModel#

A pydantic model for repository objects used by GitHubAppInstallationRepositoriesEventModel.

https://docs.github.com/en/webhooks/webhook-events-and-payloads#installation

Parameters:

data (Any) –

Show JSON schema
{
   "title": "GitHubAppInstallationEventRepoModel",
   "description": "A pydantic model for repository objects used by\n`GitHubAppInstallationRepositoriesEventModel`.\n\nhttps://docs.github.com/en/webhooks/webhook-events-and-payloads#installation",
   "type": "object",
   "properties": {
      "name": {
         "description": "The name of the repository, e.g. 'times-square'.",
         "title": "Name",
         "type": "string"
      },
      "full_name": {
         "description": "The full name of the repository, e.g. 'lsst-sqre/times-square'.",
         "title": "Full Name",
         "type": "string"
      }
   },
   "required": [
      "name",
      "full_name"
   ]
}

Fields:
field full_name: str [Required]#

The full name of the repository, e.g. ‘lsst-sqre/times-square’.

field name: str [Required]#

The name of the repository, e.g. ‘times-square’.

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

property owner_name: str#

The name of the repository owner.