##################################################################
# THIS IS THE AUTO-GENERATED CODE. DON'T EDIT IT BY HANDS!
# Copyright (C) 2023 Ilya (Marshal) <https://github.com/MarshalX>.
# This file is part of Python atproto SDK. Licenced under MIT.
##################################################################


import typing as t

from pydantic import Field

if t.TYPE_CHECKING:
    from atproto.xrpc_client import models
from atproto.xrpc_client.models import base


class Params(base.ParamsModelBase):

    """Parameters model for :obj:`app.bsky.graph.getList`."""

    list: str  #: List.
    cursor: t.Optional[str] = None  #: Cursor.
    limit: t.Optional[int] = Field(default=50, ge=1, le=100)  #: Limit.


class Response(base.ResponseModelBase):

    """Output data model for :obj:`app.bsky.graph.getList`."""

    items: t.List['models.AppBskyGraphDefs.ListItemView']  #: Items.
    list: 'models.AppBskyGraphDefs.ListView'  #: List.
    cursor: t.Optional[str] = None  #: Cursor.
