Package com.mypurecloud.sdk.v2.model
Class BuCreateTimeOffPlanRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.BuCreateTimeOffPlanRequest
- All Implemented Interfaces:
Serializable
BuCreateTimeOffPlanRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAuto approval rule for this time-off plan. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityCodeIds(List<String> activityCodeIds) The IDs of activity codes to associate with this time-off planautoApprovalRule(BuCreateTimeOffPlanRequest.AutoApprovalRuleEnum autoApprovalRule) Auto approval rule for this time-off plan.businessUnitAssociation(CreateTimeOffPlanBusinessUnitAssociation businessUnitAssociation) Business unit association, if the time-off plan belongs to a business unit.countAgainstTimeOffLimits(Boolean countAgainstTimeOffLimits) Whether this time-off plan should count against time-off limits.daysBeforeStartToExpireFromWaitlist(Integer daysBeforeStartToExpireFromWaitlist) The number of days before the time-off request start date for when the request will be expired from the waitlist.Whether this time-off plan should be used by agents.booleangetName()inthashCode()hrisTimeOffType(HrisTimeOffType hrisTimeOffType) Time-off type, if this time-off plan is associated with the integrationmanagementUnitAssociation(CreateTimeOffPlanManagementUnitAssociation managementUnitAssociation) Management unit association, if the time-off plan belongs to a management unit.The name of this time-off planvoidsetActivityCodeIds(List<String> activityCodeIds) voidsetAutoApprovalRule(BuCreateTimeOffPlanRequest.AutoApprovalRuleEnum autoApprovalRule) voidsetBusinessUnitAssociation(CreateTimeOffPlanBusinessUnitAssociation businessUnitAssociation) voidsetCountAgainstTimeOffLimits(Boolean countAgainstTimeOffLimits) voidsetDaysBeforeStartToExpireFromWaitlist(Integer daysBeforeStartToExpireFromWaitlist) voidsetEnabled(Boolean enabled) voidsetHrisTimeOffType(HrisTimeOffType hrisTimeOffType) voidsetManagementUnitAssociation(CreateTimeOffPlanManagementUnitAssociation managementUnitAssociation) voidtoString()
-
Constructor Details
-
BuCreateTimeOffPlanRequest
public BuCreateTimeOffPlanRequest()
-
-
Method Details
-
name
The name of this time-off plan -
getName
-
setName
-
activityCodeIds
The IDs of activity codes to associate with this time-off plan -
getActivityCodeIds
-
setActivityCodeIds
-
autoApprovalRule
public BuCreateTimeOffPlanRequest autoApprovalRule(BuCreateTimeOffPlanRequest.AutoApprovalRuleEnum autoApprovalRule) Auto approval rule for this time-off plan. Default is Never -
getAutoApprovalRule
-
setAutoApprovalRule
-
daysBeforeStartToExpireFromWaitlist
public BuCreateTimeOffPlanRequest daysBeforeStartToExpireFromWaitlist(Integer daysBeforeStartToExpireFromWaitlist) The number of days before the time-off request start date for when the request will be expired from the waitlist. Default is 0 -
getDaysBeforeStartToExpireFromWaitlist
-
setDaysBeforeStartToExpireFromWaitlist
-
hrisTimeOffType
Time-off type, if this time-off plan is associated with the integration -
getHrisTimeOffType
-
setHrisTimeOffType
-
enabled
Whether this time-off plan should be used by agents. Default is true -
getEnabled
-
setEnabled
-
countAgainstTimeOffLimits
Whether this time-off plan should count against time-off limits. Default is false -
getCountAgainstTimeOffLimits
-
setCountAgainstTimeOffLimits
-
businessUnitAssociation
public BuCreateTimeOffPlanRequest businessUnitAssociation(CreateTimeOffPlanBusinessUnitAssociation businessUnitAssociation) Business unit association, if the time-off plan belongs to a business unit. managementUnitAssociation must not be set if this is populated -
getBusinessUnitAssociation
-
setBusinessUnitAssociation
public void setBusinessUnitAssociation(CreateTimeOffPlanBusinessUnitAssociation businessUnitAssociation) -
managementUnitAssociation
public BuCreateTimeOffPlanRequest managementUnitAssociation(CreateTimeOffPlanManagementUnitAssociation managementUnitAssociation) Management unit association, if the time-off plan belongs to a management unit. businessUnitAssociation must not be set if this is populated -
getManagementUnitAssociation
-
setManagementUnitAssociation
public void setManagementUnitAssociation(CreateTimeOffPlanManagementUnitAssociation managementUnitAssociation) -
equals
-
hashCode
public int hashCode() -
toString
-