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

from typing import Optional

from pydantic import Field

from .base_model import BaseModel
from .enums import Visibility


class ListDetails(BaseModel):
    rid: str
    name: str
    description: Optional[str]
    visibility: Visibility
    default_acl: "ListDetailsDefaultAcl" = Field(alias="defaultACL")


class ListDetailsDefaultAcl(BaseModel):
    browse: bool


ListDetails.model_rebuild()
