public static class ScopeGroup.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
ScopeGroup |
build() |
ScopeGroup.Builder |
customFieldID(String customFieldID)
企业版自定义字段唯一键 ID, 需要从飞书人事获取(暂不支持)
示例值:123213123
|
ScopeGroup.Builder |
customFieldObjType(String customFieldObjType)
企业版自定义字段对象类型(暂不支持);* "Employment": 主数据对象,员工雇佣信息 ;* "Person": 主数据对象,个人
示例值:employment
|
ScopeGroup.Builder |
memberIds(String[] memberIds)
部门/人员 ID 列表(根据 scope_value_type 判断为部门或人员)
示例值:
|
ScopeGroup.Builder |
operationType(Integer operationType)
范围类型(是否包含);* 1: 包含;* 2: 不包含;* 3: 相等;* 4: 小于等于;* 5: 大于等于;* 6: 大于;* 7: 小于;* 8: 不相等
示例值:1
|
ScopeGroup.Builder |
right(ScopeValue[] right)
如果是人员/部门类型 不需要使用该字段
示例值:
|
ScopeGroup.Builder |
scopeValueType(Integer scopeValueType)
**类型**:;* 1: 部门;* 2:人员;* 3: 国家地区;* 4: 员工类型;* 5: 工作城市;* 6: 职级;* 7: 序列;* 8: 职务(企业版);* 9:
工时制度(企业版);* 100: 自定义字段(企业版)
示例值:1
|
public ScopeGroup.Builder scopeValueType(Integer scopeValueType)
示例值:1
scopeValueType - public ScopeGroup.Builder operationType(Integer operationType)
示例值:1
operationType - public ScopeGroup.Builder right(ScopeValue[] right)
示例值:
right - public ScopeGroup.Builder memberIds(String[] memberIds)
示例值:
memberIds - public ScopeGroup.Builder customFieldID(String customFieldID)
示例值:123213123
customFieldID - public ScopeGroup.Builder customFieldObjType(String customFieldObjType)
示例值:employment
customFieldObjType - public ScopeGroup build()
Copyright © 2026. All rights reserved.