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

from __future__ import annotations
from .masksresponse import MasksResponse, MasksResponseTypedDict
import httpx
from livepeer_ai.types import BaseModel
from typing import Optional, TypedDict
from typing_extensions import NotRequired


class GenSegmentAnything2ResponseTypedDict(TypedDict):
    content_type: str
    r"""HTTP response content type for this operation"""
    status_code: int
    r"""HTTP response status code for this operation"""
    raw_response: httpx.Response
    r"""Raw HTTP response; suitable for custom response parsing"""
    masks_response: NotRequired[MasksResponseTypedDict]
    r"""Successful Response"""


class GenSegmentAnything2Response(BaseModel):
    content_type: str
    r"""HTTP response content type for this operation"""

    status_code: int
    r"""HTTP response status code for this operation"""

    raw_response: httpx.Response
    r"""Raw HTTP response; suitable for custom response parsing"""

    masks_response: Optional[MasksResponse] = None
    r"""Successful Response"""
