# Code generated by Lark OpenAPI.

from typing import Optional, List

from lark_oapi.core.construct import init
from .agent_skill import AgentSkill


class ListAgentSkillResponseBody(object):
    _types = {
        "agent_skills": List[AgentSkill],
    }

    def __init__(self, d=None):
        self.agent_skills: Optional[List[AgentSkill]] = None
        init(self, d, self._types)

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


class ListAgentSkillResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._list_agent_skill_response_body = ListAgentSkillResponseBody()

    def agent_skills(self, agent_skills: List[AgentSkill]) -> "ListAgentSkillResponseBodyBuilder":
        self._list_agent_skill_response_body.agent_skills = agent_skills
        return self

    def build(self) -> "ListAgentSkillResponseBody":
        return self._list_agent_skill_response_body
