# Generated by ariadne-codegen
# Source: hubsrht/services/git/

from typing import Literal

from pydantic import Field

from .base_model import BaseModel


class DeleteRepoWebhook(BaseModel):
    delete_git_webhook: "DeleteRepoWebhookDeleteGitWebhook" = Field(
        alias="deleteGitWebhook"
    )


class DeleteRepoWebhookDeleteGitWebhook(BaseModel):
    typename__: Literal[
        "GitWebhookSubscription", "UserWebhookSubscription", "WebhookSubscription"
    ] = Field(alias="__typename")
    id: int


DeleteRepoWebhook.model_rebuild()
