public static class AddLeaveTypeRequest.AddLeaveTypeRequestSubmitTimeRule
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
enableTimeLimit
example:
true
|
String |
timeType
example:
before
|
String |
timeUnit
example:
day
|
Long |
timeValue
example:
2
|
| 构造器和说明 |
|---|
AddLeaveTypeRequestSubmitTimeRule() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AddLeaveTypeRequest.AddLeaveTypeRequestSubmitTimeRule |
build(Map<String,?> map) |
Boolean |
getEnableTimeLimit() |
String |
getTimeType() |
String |
getTimeUnit() |
Long |
getTimeValue() |
AddLeaveTypeRequest.AddLeaveTypeRequestSubmitTimeRule |
setEnableTimeLimit(Boolean enableTimeLimit) |
AddLeaveTypeRequest.AddLeaveTypeRequestSubmitTimeRule |
setTimeType(String timeType) |
AddLeaveTypeRequest.AddLeaveTypeRequestSubmitTimeRule |
setTimeUnit(String timeUnit) |
AddLeaveTypeRequest.AddLeaveTypeRequestSubmitTimeRule |
setTimeValue(Long timeValue) |
@NameInMap(value="enableTimeLimit") public Boolean enableTimeLimit
true
@NameInMap(value="timeType") public String timeType
before
@NameInMap(value="timeUnit") public String timeUnit
day
@NameInMap(value="timeValue") public Long timeValue
2
public static AddLeaveTypeRequest.AddLeaveTypeRequestSubmitTimeRule build(Map<String,?> map) throws Exception
Exceptionpublic AddLeaveTypeRequest.AddLeaveTypeRequestSubmitTimeRule setEnableTimeLimit(Boolean enableTimeLimit)
public Boolean getEnableTimeLimit()
public AddLeaveTypeRequest.AddLeaveTypeRequestSubmitTimeRule setTimeType(String timeType)
public String getTimeType()
public AddLeaveTypeRequest.AddLeaveTypeRequestSubmitTimeRule setTimeUnit(String timeUnit)
public String getTimeUnit()
public AddLeaveTypeRequest.AddLeaveTypeRequestSubmitTimeRule setTimeValue(Long timeValue)
public Long getTimeValue()
Copyright © 2025. All rights reserved.