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 planbusinessUnitAssociation(TimeOffPlanBusinessUnitAssociation businessUnitAssociation) Business unit association, if the time-off plan belongs to a business unit.countAgainstTimeOffLimits(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 integrationmanagementUnitAssociation(TimeOffPlanManagementUnitAssociation managementUnitAssociation) Management Unit association, if the time-off plan belongs to a management unit.metadata(WfmVersionedEntityMetadata metadata) Version metadata for the time-off planThe name of this time-off planvoidsetActivityCodeIds(List<String> activityCodeIds) voidsetAutoApprovalRule(BuTimeOffPlanResponse.AutoApprovalRuleEnum autoApprovalRule) voidsetBusinessUnitAssociation(TimeOffPlanBusinessUnitAssociation businessUnitAssociation) voidsetCountAgainstTimeOffLimits(Boolean countAgainstTimeOffLimits) voidsetDaysBeforeStartToExpireFromWaitlist(Integer daysBeforeStartToExpireFromWaitlist) voidsetEnabled(Boolean enabled) voidsetHrisTimeOffType(HrisTimeOffType hrisTimeOffType) voidsetManagementUnitAssociation(TimeOffPlanManagementUnitAssociation managementUnitAssociation) voidsetMetadata(WfmVersionedEntityMetadata metadata) voidvoidsetTimeOffLimits(List<BuTimeOffLimitReference> timeOffLimits) timeOffLimits(List<BuTimeOffLimitReference> timeOffLimits) The IDs of time-off limits associated with this time-off plantoString()
-
Constructor Details
-
BuTimeOffPlanResponse
public BuTimeOffPlanResponse()
-
-
Method Details
-
getId
-
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
-
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
-