# Code generated by Lark OpenAPI.

from lark_oapi.core.enum import HttpMethod, AccessTokenType
from lark_oapi.core.model import BaseRequest


class ListAgentSkillRuleRequest(BaseRequest):
    def __init__(self) -> None:
        super().__init__()

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


class ListAgentSkillRuleRequestBuilder(object):

    def __init__(self) -> None:
        list_agent_skill_rule_request = ListAgentSkillRuleRequest()
        list_agent_skill_rule_request.http_method = HttpMethod.GET
        list_agent_skill_rule_request.uri = "/open-apis/helpdesk/v1/agent_skill_rules"
        list_agent_skill_rule_request.token_types = {AccessTokenType.TENANT}
        self._list_agent_skill_rule_request: ListAgentSkillRuleRequest = list_agent_skill_rule_request

    def build(self) -> ListAgentSkillRuleRequest:
        return self._list_agent_skill_rule_request
