Package com.mypurecloud.sdk.v2.model
Class ActivityPlanListItem
java.lang.Object
com.mypurecloud.sdk.v2.model.ActivityPlanListItem
- All Implemented Interfaces:
Serializable
ActivityPlanListItem
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe optimization objective of this activity planstatic enumThe state of this activity planstatic enumThe type of the activity plan -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityCode(ActivityCodeReference activityCode) The activity code to which this activity plan applies.createdBy(UserReference createdBy) The user who created this activity plancreatedDate(Date createdDate) The date the activity plan was created, in ISO-8601 formatdescription(String description) The description of this activity planbooleangetId()getName()getState()getType()inthashCode()The globally unique identifier for the object.initialSchedulePeriod(SchedulingPeriodBase initialSchedulePeriod) The initial schedule period of the activity planlastRunBy(UserReference lastRunBy) The last user to run this activity planlastRunDate(Date lastRunDate) The date on which the activity plan was last manually run, in ISO-8601 formatmanagementUnits(List<ManagementUnitReference> managementUnits) The management units to which this activity plan applies.modifiedBy(UserReference modifiedBy) The last user to modify this activity plan.modifiedDate(Date modifiedDate) The date the activity plan was modified, in ISO-8601 formatThe name of the activity planoptimizationObjective(ActivityPlanListItem.OptimizationObjectiveEnum optimizationObjective) The optimization objective of this activity planrecurrenceSettings(RecurrenceSettings recurrenceSettings) Recurrence settings for this activity planvoidsetActivityCode(ActivityCodeReference activityCode) voidsetCreatedBy(UserReference createdBy) voidsetCreatedDate(Date createdDate) voidsetDescription(String description) voidvoidsetInitialSchedulePeriod(SchedulingPeriodBase initialSchedulePeriod) voidsetLastRunBy(UserReference lastRunBy) voidsetLastRunDate(Date lastRunDate) voidsetManagementUnits(List<ManagementUnitReference> managementUnits) voidsetModifiedBy(UserReference modifiedBy) voidsetModifiedDate(Date modifiedDate) voidvoidsetOptimizationObjective(ActivityPlanListItem.OptimizationObjectiveEnum optimizationObjective) voidsetRecurrenceSettings(RecurrenceSettings recurrenceSettings) voidvoidThe state of this activity plantoString()The type of the activity plan
-
Constructor Details
-
ActivityPlanListItem
public ActivityPlanListItem() -
ActivityPlanListItem
-
-
Method Details
-
id
The globally unique identifier for the object. -
getId
-
setId
-
name
The name of the activity plan -
getName
-
setName
-
managementUnits
The management units to which this activity plan applies. Empty list or null means this activity plan applies to all management units in the business unit -
getManagementUnits
-
setManagementUnits
-
description
The description of this activity plan -
getDescription
-
setDescription
-
activityCode
The activity code to which this activity plan applies. Note: It is recommended to load and cache the entire list of activity codes rather than look up individual codes -
getActivityCode
-
setActivityCode
-
type
The type of the activity plan -
getType
-
setType
-
optimizationObjective
public ActivityPlanListItem optimizationObjective(ActivityPlanListItem.OptimizationObjectiveEnum optimizationObjective) The optimization objective of this activity plan -
getOptimizationObjective
-
setOptimizationObjective
public void setOptimizationObjective(ActivityPlanListItem.OptimizationObjectiveEnum optimizationObjective) -
recurrenceSettings
Recurrence settings for this activity plan -
getRecurrenceSettings
-
setRecurrenceSettings
-
state
The state of this activity plan -
getState
-
setState
-
lastRunDate
The date on which the activity plan was last manually run, in ISO-8601 format -
getLastRunDate
-
setLastRunDate
-
lastRunBy
The last user to run this activity plan -
getLastRunBy
-
setLastRunBy
-
createdDate
The date the activity plan was created, in ISO-8601 format -
getCreatedDate
-
setCreatedDate
-
createdBy
The user who created this activity plan -
getCreatedBy
-
setCreatedBy
-
modifiedDate
The date the activity plan was modified, in ISO-8601 format -
getModifiedDate
-
setModifiedDate
-
modifiedBy
The last user to modify this activity plan. The id may be 'System' if it was an automated process -
getModifiedBy
-
setModifiedBy
-
initialSchedulePeriod
The initial schedule period of the activity plan -
getInitialSchedulePeriod
-
setInitialSchedulePeriod
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-