Package com.mypurecloud.sdk.v2.model
Class CreateTimeOffPlanRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.CreateTimeOffPlanRequest
- All Implemented Interfaces:
Serializable
CreateTimeOffPlanRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAuto approval rule for the time off plan. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhether this time off plan should be used by agents.activityCodeIds(List<String> activityCodeIds) The set of activity code IDs to associate with this time off plan.autoApprovalRule(CreateTimeOffPlanRequest.AutoApprovalRuleEnum autoApprovalRule) Auto approval rule for the time off plan.daysBeforeStartToExpireFromWaitlist(Integer daysBeforeStartToExpireFromWaitlist) The number of days before the time off request start date for when the request will be expired from the waitlist.booleangetName()inthashCode()hrisTimeOffType(HrisTimeOffType hrisTimeOffType) Time off type, if this time off plan is associated with the integration.The name of this time off plan.voidvoidsetActivityCodeIds(List<String> activityCodeIds) voidsetAutoApprovalRule(CreateTimeOffPlanRequest.AutoApprovalRuleEnum autoApprovalRule) voidsetDaysBeforeStartToExpireFromWaitlist(Integer daysBeforeStartToExpireFromWaitlist) voidsetHrisTimeOffType(HrisTimeOffType hrisTimeOffType) voidvoidsetTimeOffLimitIds(List<String> timeOffLimitIds) timeOffLimitIds(List<String> timeOffLimitIds) The set of time off limit IDs to associate with this time off plan.toString()
-
Constructor Details
-
CreateTimeOffPlanRequest
public CreateTimeOffPlanRequest() -
CreateTimeOffPlanRequest
-
-
Method Details
-
name
The name of this time off plan. -
getName
-
setName
-
activityCodeIds
The set of activity code IDs to associate with this time off plan. -
getActivityCodeIds
-
setActivityCodeIds
-
timeOffLimitIds
The set of time off limit IDs to associate with this time off plan. -
getTimeOffLimitIds
-
setTimeOffLimitIds
-
autoApprovalRule
public CreateTimeOffPlanRequest autoApprovalRule(CreateTimeOffPlanRequest.AutoApprovalRuleEnum autoApprovalRule) Auto approval rule for the time off plan. -
getAutoApprovalRule
-
setAutoApprovalRule
-
daysBeforeStartToExpireFromWaitlist
public CreateTimeOffPlanRequest daysBeforeStartToExpireFromWaitlist(Integer daysBeforeStartToExpireFromWaitlist) The number of days before the time off request start date for when the request will be expired from the waitlist. -
getDaysBeforeStartToExpireFromWaitlist
-
setDaysBeforeStartToExpireFromWaitlist
-
hrisTimeOffType
Time off type, if this time off plan is associated with the integration. -
getHrisTimeOffType
-
setHrisTimeOffType
-
active
Whether this time off plan should be used by agents. -
getActive
-
setActive
-
equals
-
hashCode
public int hashCode() -
toString
-