"""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 DowJonesDateTypedDict(TypedDict):
    r"""Custom date object to present related Dow Jones dates because any value can be null, Month is represented randomly like June, Jun, 6 etc. etc."""

    day: NotRequired[str]
    r"""Day"""
    month: NotRequired[str]
    r"""Month"""
    year: NotRequired[str]
    r"""Year"""


class DowJonesDate(BaseModel):
    r"""Custom date object to present related Dow Jones dates because any value can be null, Month is represented randomly like June, Jun, 6 etc. etc."""

    day: Optional[str] = None
    r"""Day"""

    month: Optional[str] = None
    r"""Month"""

    year: Optional[str] = None
    r"""Year"""
