类 AgentSkillRule.Builder

java.lang.Object
com.lark.oapi.service.helpdesk.v1.model.AgentSkillRule.Builder
封闭类:
AgentSkillRule

public static class AgentSkillRule.Builder extends Object
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • id

      rule id, 参考[获取客服技能rules](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent_skill_rule/list) 用于获取rules options

      示例值:test-skill-id

      参数:
      id -
      返回:
    • selectedOperator

      public AgentSkillRule.Builder selectedOperator(Integer selectedOperator)
      运算符比较, 参考[客服技能运算符选项](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/operator-options)

      示例值:8

      参数:
      selectedOperator -
      返回:
    • operatorOptions

      public AgentSkillRule.Builder operatorOptions(Integer[] operatorOptions)
      rule操作数value,[客服技能及运算符](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/operator-options)

      示例值:[3]

      参数:
      operatorOptions -
      返回:
    • operand

      public AgentSkillRule.Builder operand(String operand)
      rule 操作数的值

      示例值:{; "selected_departments": [; {; "id": "部门ID",; "name": "IT"; }; ]; }

      参数:
      operand -
      返回:
    • category

      public AgentSkillRule.Builder category(Integer category)
      rule 类型,1-知识库,2-工单信息,3-用户飞书信息

      示例值:3

      参数:
      category -
      返回:
    • displayName

      public AgentSkillRule.Builder displayName(String displayName)
      rule 名

      示例值:中文知识库分类

      参数:
      displayName -
      返回:
    • build

      public AgentSkillRule build()