# 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 .agent_skill import AgentSkill


class PatchAgentSkillRequestBody(object):
    _types = {
        "agent_skill": AgentSkill,
    }

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

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


class PatchAgentSkillRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._patch_agent_skill_request_body = PatchAgentSkillRequestBody()

    def agent_skill(self, agent_skill: AgentSkill) -> "PatchAgentSkillRequestBodyBuilder":
        self._patch_agent_skill_request_body.agent_skill = agent_skill
        return self

    def build(self) -> "PatchAgentSkillRequestBody":
        return self._patch_agent_skill_request_body
