# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init
from .run import Run


class GetAilySessionRunResponseBody(object):
    _types = {
        "run": Run,
    }

    def __init__(self, d=None):
        self.run: Optional[Run] = None
        init(self, d, self._types)

    @staticmethod
    def builder() -> "GetAilySessionRunResponseBodyBuilder":
        return GetAilySessionRunResponseBodyBuilder()


class GetAilySessionRunResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_aily_session_run_response_body = GetAilySessionRunResponseBody()

    def run(self, run: Run) -> "GetAilySessionRunResponseBodyBuilder":
        self._get_aily_session_run_response_body.run = run
        return self

    def build(self) -> "GetAilySessionRunResponseBody":
        return self._get_aily_session_run_response_body
