# Code generated by Lark OpenAPI.

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


class AgentSkillLessInfo(object):
    _types = {
        "id": str,
        "name": str,
        "is_default": bool,
    }

    def __init__(self, d=None):
        self.id: Optional[str] = None
        self.name: Optional[str] = None
        self.is_default: Optional[bool] = None
        init(self, d, self._types)

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


class AgentSkillLessInfoBuilder(object):
    def __init__(self) -> None:
        self._agent_skill_less_info = AgentSkillLessInfo()

    def id(self, id: str) -> "AgentSkillLessInfoBuilder":
        self._agent_skill_less_info.id = id
        return self

    def name(self, name: str) -> "AgentSkillLessInfoBuilder":
        self._agent_skill_less_info.name = name
        return self

    def is_default(self, is_default: bool) -> "AgentSkillLessInfoBuilder":
        self._agent_skill_less_info.is_default = is_default
        return self

    def build(self) -> "AgentSkillLessInfo":
        return self._agent_skill_less_info
