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

from typing import Optional

from pydantic import Field

from .base_model import BaseModel
from .fragments import ListDetails


class GetListByName(BaseModel):
    me: "GetListByNameMe"


class GetListByNameMe(BaseModel):
    mailing_list: Optional["GetListByNameMeMailingList"] = Field(alias="mailingList")


class GetListByNameMeMailingList(ListDetails):
    pass


GetListByName.model_rebuild()
GetListByNameMe.model_rebuild()
