GitHubAppInstallationModel

pydantic model safir.github.webhooks.GitHubAppInstallationModel

A Pydantic model for the installation field found in webhook payloads for GitHub Apps.

Parameters:

data (Any)

Show JSON schema
{
   "title": "GitHubAppInstallationModel",
   "description": "A Pydantic model for the ``installation`` field found in webhook\npayloads for GitHub Apps.",
   "type": "object",
   "properties": {
      "id": {
         "description": "The installation ID.",
         "title": "Id",
         "type": "integer"
      }
   },
   "required": [
      "id"
   ]
}

Fields:
field id: int [Required]

The installation ID.