Package com.mypurecloud.sdk.v2.model
Class BuUpdateTimeOffPlanRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.BuUpdateTimeOffPlanRequest
- All Implemented Interfaces:
Serializable
BuUpdateTimeOffPlanRequest
- 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(SetWrapperString activityCodeIds) The IDs of activity codes to associate with this time-off planautoApprovalRule(BuUpdateTimeOffPlanRequest.AutoApprovalRuleEnum autoApprovalRule) Auto approval rule for this time-off planbusinessUnitAssociation(UpdateTimeOffPlanBusinessUnitAssociation 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 limitsdaysBeforeStartToExpireFromWaitlist(Integer daysBeforeStartToExpireFromWaitlist) The number of days before the time-off request start date for when the request will be expired from the waitlistWhether this time-off plan should be used by agentsbooleangetName()inthashCode()hrisTimeOffType(ValueWrapperHrisTimeOffType hrisTimeOffType) Time-off type, if this time-off plan is associated with the integrationmanagementUnitAssociation(UpdateTimeOffPlanManagementUnitAssociation managementUnitAssociation) Management unit association, if the time-off plan belongs to a management unit.metadata(WfmVersionedEntityMetadata metadata) Version metadata for this time-off planThe name of this time-off planvoidsetActivityCodeIds(SetWrapperString activityCodeIds) voidsetAutoApprovalRule(BuUpdateTimeOffPlanRequest.AutoApprovalRuleEnum autoApprovalRule) voidsetBusinessUnitAssociation(UpdateTimeOffPlanBusinessUnitAssociation businessUnitAssociation) voidsetCountAgainstTimeOffLimits(Boolean countAgainstTimeOffLimits) voidsetDaysBeforeStartToExpireFromWaitlist(Integer daysBeforeStartToExpireFromWaitlist) voidsetEnabled(Boolean enabled) voidsetHrisTimeOffType(ValueWrapperHrisTimeOffType hrisTimeOffType) voidsetManagementUnitAssociation(UpdateTimeOffPlanManagementUnitAssociation managementUnitAssociation) voidsetMetadata(WfmVersionedEntityMetadata metadata) voidtoString()
-
Constructor Details
-
BuUpdateTimeOffPlanRequest
public BuUpdateTimeOffPlanRequest()
-
-
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 BuUpdateTimeOffPlanRequest autoApprovalRule(BuUpdateTimeOffPlanRequest.AutoApprovalRuleEnum autoApprovalRule) Auto approval rule for this time-off plan -
getAutoApprovalRule
-
setAutoApprovalRule
-
daysBeforeStartToExpireFromWaitlist
public BuUpdateTimeOffPlanRequest 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
-
enabled
Whether this time-off plan should be used by agents -
getEnabled
-
setEnabled
-
countAgainstTimeOffLimits
Whether this time-off plan should count against time-off limits -
getCountAgainstTimeOffLimits
-
setCountAgainstTimeOffLimits
-
businessUnitAssociation
public BuUpdateTimeOffPlanRequest businessUnitAssociation(UpdateTimeOffPlanBusinessUnitAssociation 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(UpdateTimeOffPlanBusinessUnitAssociation businessUnitAssociation) -
managementUnitAssociation
public BuUpdateTimeOffPlanRequest managementUnitAssociation(UpdateTimeOffPlanManagementUnitAssociation 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(UpdateTimeOffPlanManagementUnitAssociation managementUnitAssociation) -
metadata
Version metadata for this time-off plan -
getMetadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-