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

from __future__ import annotations
from ascend_sdk.types import BaseModel
from enum import Enum
from typing_extensions import TypedDict


class RetrieveFixedIncomeMarksRequestSecurityIdentifiersCreateIdentifierType(str, Enum):
    r"""The identifier type of the asset being sought"""

    ASSET_ID = "ASSET_ID"
    CUSIP = "CUSIP"
    ISIN = "ISIN"


class RetrieveFixedIncomeMarksRequestSecurityIdentifiersCreateTypedDict(TypedDict):
    r"""The identifier for the asset."""

    identifier: str
    r"""Identifier of the asset (of the type specified in `identifier_type`)."""
    identifier_type: (
        RetrieveFixedIncomeMarksRequestSecurityIdentifiersCreateIdentifierType
    )
    r"""The identifier type of the asset being sought"""


class RetrieveFixedIncomeMarksRequestSecurityIdentifiersCreate(BaseModel):
    r"""The identifier for the asset."""

    identifier: str
    r"""Identifier of the asset (of the type specified in `identifier_type`)."""

    identifier_type: (
        RetrieveFixedIncomeMarksRequestSecurityIdentifiersCreateIdentifierType
    )
    r"""The identifier type of the asset being sought"""
