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

from __future__ import annotations
from .evidencetype import EvidenceType
from moovio_sdk.types import BaseModel
import pydantic
from typing import Optional
from typing_extensions import Annotated, NotRequired, TypedDict


class UpdateEvidenceTypedDict(TypedDict):
    evidence_type: NotRequired[EvidenceType]
    text: NotRequired[str]
    r"""If updating text evidence, the new text to associate with the dispute."""


class UpdateEvidence(BaseModel):
    evidence_type: Annotated[
        Optional[EvidenceType], pydantic.Field(alias="evidenceType")
    ] = None

    text: Optional[str] = None
    r"""If updating text evidence, the new text to associate with the dispute."""
