Package com.mypurecloud.sdk.v2.model
Class BuTimeOffPlanResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.BuTimeOffPlanResponse
- All Implemented Interfaces:
Serializable
BuTimeOffPlanResponse
- 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 associated with this time-off planautoApprovalRule(BuTimeOffPlanResponse.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(TimeOffPlanBusinessUnitAssociation 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 counts 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 is currently being used by agentsbooleangetId()getName()inthashCode()hrisTimeOffType(HrisTimeOffType hrisTimeOffType) Time-off type, if this time-off plan is associated with the integrationThe globally unique identifier for the object.managementUnitAssociation(TimeOffPlanManagementUnitAssociation 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 the time-off planThe name of this time-off planoverrideDates(List<OverrideDate> overrideDates) A list of override dates to check for conflicts with time-off request dates.restrictedActivityCodes(ActivityCodesReference restrictedActivityCodes) The IDs of non time-off activity codes to check for conflicts in case the auto approval rule specifies checking activity codes.voidsetActivityCodeIds(List<String> activityCodeIds) voidsetAutoApprovalRule(BuTimeOffPlanResponse.AutoApprovalRuleEnum autoApprovalRule) voidsetAutoPublishApprovedTimeOffRequests(Boolean autoPublishApprovedTimeOffRequests) voidsetBusinessUnitAssociation(TimeOffPlanBusinessUnitAssociation businessUnitAssociation) voidsetCountAgainstTimeOffLimits(Boolean countAgainstTimeOffLimits) voidsetDaysBeforeStartToExpireFromWaitlist(Integer daysBeforeStartToExpireFromWaitlist) voidsetEnabled(Boolean enabled) voidsetHrisTimeOffType(HrisTimeOffType hrisTimeOffType) voidvoidsetManagementUnitAssociation(TimeOffPlanManagementUnitAssociation managementUnitAssociation) voidsetMetadata(WfmVersionedEntityMetadata metadata) voidvoidsetOverrideDates(List<OverrideDate> overrideDates) voidsetRestrictedActivityCodes(ActivityCodesReference restrictedActivityCodes) voidsetTimeOffLimits(List<BuTimeOffLimitReference> timeOffLimits) timeOffLimits(List<BuTimeOffLimitReference> timeOffLimits) The IDs of time-off limits associated with this time-off plantoString()
-
Constructor Details
-
BuTimeOffPlanResponse
public BuTimeOffPlanResponse() -
BuTimeOffPlanResponse
-
-
Method Details
-
id
The globally unique identifier for the object. -
getId
-
setId
-
name
The name of this time-off plan -
getName
-
setName
-
activityCodeIds
The IDs of activity codes associated with this time-off plan -
getActivityCodeIds
-
setActivityCodeIds
-
timeOffLimits
The IDs of time-off limits associated with this time-off plan -
getTimeOffLimits
-
setTimeOffLimits
-
autoApprovalRule
public BuTimeOffPlanResponse autoApprovalRule(BuTimeOffPlanResponse.AutoApprovalRuleEnum autoApprovalRule) Auto approval rule for this time-off plan -
getAutoApprovalRule
-
setAutoApprovalRule
-
daysBeforeStartToExpireFromWaitlist
public BuTimeOffPlanResponse 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 BuTimeOffPlanResponse 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
-
restrictedActivityCodes
public BuTimeOffPlanResponse restrictedActivityCodes(ActivityCodesReference restrictedActivityCodes) 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 -
getRestrictedActivityCodes
-
setRestrictedActivityCodes
-
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 is currently being used by agents -
getEnabled
-
setEnabled
-
countAgainstTimeOffLimits
Whether this time-off plan counts against time-off limits -
getCountAgainstTimeOffLimits
-
setCountAgainstTimeOffLimits
-
businessUnitAssociation
public BuTimeOffPlanResponse businessUnitAssociation(TimeOffPlanBusinessUnitAssociation 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
-
managementUnitAssociation
public BuTimeOffPlanResponse managementUnitAssociation(TimeOffPlanManagementUnitAssociation 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(TimeOffPlanManagementUnitAssociation managementUnitAssociation) -
metadata
Version metadata for the time-off plan -
getMetadata
-
setMetadata
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-