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 planautoPublishApprovedTimeOffRequests(Boolean autoPublishApprovedTimeOffRequests) Whether newly approved time-off requests with activity codes associated with this time-off plan should be automatically published to the schedulebusinessUnitAssociation(UpdateTimeOffPlanBusinessUnitAssociation businessUnitAssociation) Business unit association, if the time-off plan belongs to a business unit. managementUnitAssociation must not be set if this is populatedcountAgainstTimeOffLimits(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. businessUnitAssociation must not be set if this is populatedmetadata(WfmVersionedEntityMetadata metadata) Version metadata for this time-off planThe name of this time-off planoverrideDates(ListWrapperOverrideDate overrideDates) A list of override dates to check for conflicts with time-off request dates.restrictedActivityCodeIds(SetWrapperString restrictedActivityCodeIds) The IDs of non time-off activity codes to check for conflicts in case the auto approval rule specifies checking activity codes.voidsetActivityCodeIds(SetWrapperString activityCodeIds) voidsetAutoApprovalRule(BuUpdateTimeOffPlanRequest.AutoApprovalRuleEnum autoApprovalRule) voidsetAutoPublishApprovedTimeOffRequests(Boolean autoPublishApprovedTimeOffRequests) voidsetBusinessUnitAssociation(UpdateTimeOffPlanBusinessUnitAssociation businessUnitAssociation) voidsetCountAgainstTimeOffLimits(Boolean countAgainstTimeOffLimits) voidsetDaysBeforeStartToExpireFromWaitlist(Integer daysBeforeStartToExpireFromWaitlist) voidsetEnabled(Boolean enabled) voidsetHrisTimeOffType(ValueWrapperHrisTimeOffType hrisTimeOffType) voidsetManagementUnitAssociation(UpdateTimeOffPlanManagementUnitAssociation managementUnitAssociation) voidsetMetadata(WfmVersionedEntityMetadata metadata) voidvoidsetOverrideDates(ListWrapperOverrideDate overrideDates) voidsetRestrictedActivityCodeIds(SetWrapperString restrictedActivityCodeIds) toString()
-
Constructor Details
-
BuUpdateTimeOffPlanRequest
public BuUpdateTimeOffPlanRequest() -
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
-
autoPublishApprovedTimeOffRequests
public BuUpdateTimeOffPlanRequest autoPublishApprovedTimeOffRequests(Boolean autoPublishApprovedTimeOffRequests) Whether newly approved time-off requests with activity codes associated with this time-off plan should be automatically published to the schedule -
getAutoPublishApprovedTimeOffRequests
-
setAutoPublishApprovedTimeOffRequests
-
restrictedActivityCodeIds
public BuUpdateTimeOffPlanRequest restrictedActivityCodeIds(SetWrapperString restrictedActivityCodeIds) The IDs of non time-off activity codes to check for conflicts in case the auto approval rule specifies checking activity codes. If these activity codes are present in schedule and overlap with the time-off request duration, the request will not be auto approved -
getRestrictedActivityCodeIds
-
setRestrictedActivityCodeIds
-
overrideDates
A list of override dates to check for conflicts with time-off request dates. If a conflict is found, the request will not be auto-approved -
getOverrideDates
-
setOverrideDates
-
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
-