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

from __future__ import annotations
from .asset import Asset, AssetTypedDict
from ascend_sdk.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict


class ListAssetsResponseTypedDict(TypedDict):
    r"""ListAssetsResponse is the response message for ListAssets method."""

    assets: NotRequired[List[AssetTypedDict]]
    r"""The assets returned in the response."""
    next_page_token: NotRequired[str]
    r"""The next_page_token value to include in a subsequent ListAssets request to retrieve the next page of results."""


class ListAssetsResponse(BaseModel):
    r"""ListAssetsResponse is the response message for ListAssets method."""

    assets: Optional[List[Asset]] = None
    r"""The assets returned in the response."""

    next_page_token: Optional[str] = None
    r"""The next_page_token value to include in a subsequent ListAssets request to retrieve the next page of results."""
