"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from ascend_sdk.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class AvailableRestrictionTypedDict(TypedDict):
    r"""Available Restriction on an Account."""

    description: NotRequired[str]
    r"""The description of the restriction."""
    display_name: NotRequired[str]
    r"""The human readable representation of the restriction code."""
    restriction_code: NotRequired[str]
    r"""The restriction code."""


class AvailableRestriction(BaseModel):
    r"""Available Restriction on an Account."""

    description: Optional[str] = None
    r"""The description of the restriction."""

    display_name: Optional[str] = None
    r"""The human readable representation of the restriction code."""

    restriction_code: Optional[str] = None
    r"""The restriction code."""
