# 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 .aily_session import AilySession


class UpdateAilySessionResponseBody(object):
    _types = {
        "session": AilySession,
    }

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

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


class UpdateAilySessionResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._update_aily_session_response_body = UpdateAilySessionResponseBody()

    def session(self, session: AilySession) -> "UpdateAilySessionResponseBodyBuilder":
        self._update_aily_session_response_body.session = session
        return self

    def build(self) -> "UpdateAilySessionResponseBody":
        return self._update_aily_session_response_body
