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


import typing as t

import typing_extensions as te
from pydantic import Field

if t.TYPE_CHECKING:
    from atproto_client import models
from atproto_client.models import base


class Params(base.ParamsModelBase):
    """Parameters model for :obj:`tools.ozone.team.listMembers`."""

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


class ParamsDict(t.TypedDict):
    cursor: te.NotRequired[t.Optional[str]]  #: Cursor.
    disabled: te.NotRequired[t.Optional[bool]]  #: Disabled.
    limit: te.NotRequired[t.Optional[int]]  #: Limit.
    roles: te.NotRequired[t.Optional[t.List[str]]]  #: Roles.


class Response(base.ResponseModelBase):
    """Output data model for :obj:`tools.ozone.team.listMembers`."""

    members: t.List['models.ToolsOzoneTeamDefs.Member']  #: Members.
    cursor: t.Optional[str] = None  #: Cursor.
