类 RuleDetail.Builder
java.lang.Object
com.lark.oapi.service.admin.v1.model.RuleDetail.Builder
- 封闭类:
RuleDetail
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明anniversary(Integer anniversary) 入职周年日。build()effectivePeriod(RuleDetailEffectivePeriodEnum effectivePeriod) 有效期限。effectivePeriod(Integer effectivePeriod) 有效期限。effectiveTime(String effectiveTime) 开始生效的时间戳。expirationTime(String expirationTime) 结束生效的时间戳。
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
effectiveTime
开始生效的时间戳。1.手动设置有效期类型勋章,配置有效期限需要配置该字段;2.时间戳必须是所在时区当天的零点时间戳,如时区为Asia/Shanghai时区时的1649606400示例值:1649606400
- 参数:
effectiveTime-- 返回:
-
expirationTime
结束生效的时间戳。1.手动设置有效期类型勋章,配置有效期限需要配置该字段;2.最大值:不得超过effective_time+100 年;3.非永久有效:时间戳必须是所在时区当天的23:59:59时间戳,如时区为Asia/Shanghai时区时的1649692799;4.永久有效:传值为0即可示例值:1649692799
- 参数:
expirationTime-- 返回:
-
anniversary
入职周年日。根据入职时间发放类型勋章,需要配置该字段。示例值:1
- 参数:
anniversary-- 返回:
-
effectivePeriod
有效期限。根据入职时间发放类型勋章,需要配置该字段。示例值:1
- 参数:
effectivePeriod-- 返回:
-
effectivePeriod
有效期限。根据入职时间发放类型勋章,需要配置该字段。示例值:1
- 参数:
effectivePeriod-RuleDetailEffectivePeriodEnum- 返回:
-
build
-