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

from __future__ import annotations
from .pushsubscription import PushSubscription, PushSubscriptionTypedDict
from ascend_sdk.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict


class ListPushSubscriptionsResponseTypedDict(TypedDict):
    r"""A response to a list push subscriptions method"""

    next_page_token: NotRequired[str]
    r"""Page token used for pagination; Supplying a page token returns the next page of results"""
    push_subscriptions: NotRequired[List[PushSubscriptionTypedDict]]
    r"""The returned collection of subscriptions"""


class ListPushSubscriptionsResponse(BaseModel):
    r"""A response to a list push subscriptions method"""

    next_page_token: Optional[str] = None
    r"""Page token used for pagination; Supplying a page token returns the next page of results"""

    push_subscriptions: Optional[List[PushSubscription]] = None
    r"""The returned collection of subscriptions"""
