# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init


class AgentEmailAgentResponseBody(object):
    _types = {
        "agents": str,
    }

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

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


class AgentEmailAgentResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._agent_email_agent_response_body = AgentEmailAgentResponseBody()

    def agents(self, agents: str) -> "AgentEmailAgentResponseBodyBuilder":
        self._agent_email_agent_response_body.agents = agents
        return self

    def build(self) -> "AgentEmailAgentResponseBody":
        return self._agent_email_agent_response_body
