Package com.mypurecloud.sdk.v2.model
Class CapacityPlanStaffingRequirementResult
java.lang.Object
com.mypurecloud.sdk.v2.model.CapacityPlanStaffingRequirementResult
- All Implemented Interfaces:
Serializable
CapacityPlanStaffingRequirementResult
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe error code when status is 'Failed'static enumGranularity of the intervalsstatic enumThe status of the requirement generation of the capacity plan -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbusinessUnit(BusinessUnitReference businessUnit) The business unit to which the capacity plan belongscapacityPlan(CapacityPlanReference capacityPlan) The capacity plan for which requirements are generateddownloadTemplate(StaffingRequirementResultResponseTemplate downloadTemplate) Staffing requirement results always come through downloadUrl, the schema included here is just for documentationdownloadUrl(String downloadUrl) The URL to get the requirements results for the capacity plan.booleanThe error code when status is 'Failed'Granularity of the intervalsinthashCode()referenceBusinessUnitDate(LocalDate referenceBusinessUnitDate) The reference date for interval-based data relative to the business unit time zone for the requirements.voidsetBusinessUnit(BusinessUnitReference businessUnit) voidsetCapacityPlan(CapacityPlanReference capacityPlan) voidsetDownloadTemplate(StaffingRequirementResultResponseTemplate downloadTemplate) voidsetDownloadUrl(String downloadUrl) voidvoidvoidsetReferenceBusinessUnitDate(LocalDate referenceBusinessUnitDate) voidThe status of the requirement generation of the capacity plantoString()
-
Constructor Details
-
CapacityPlanStaffingRequirementResult
public CapacityPlanStaffingRequirementResult() -
CapacityPlanStaffingRequirementResult
-
-
Method Details
-
businessUnit
The business unit to which the capacity plan belongs -
getBusinessUnit
-
setBusinessUnit
-
capacityPlan
The capacity plan for which requirements are generated -
getCapacityPlan
-
setCapacityPlan
-
status
public CapacityPlanStaffingRequirementResult status(CapacityPlanStaffingRequirementResult.StatusEnum status) The status of the requirement generation of the capacity plan -
getStatus
-
setStatus
-
referenceBusinessUnitDate
public CapacityPlanStaffingRequirementResult referenceBusinessUnitDate(LocalDate referenceBusinessUnitDate) The reference date for interval-based data relative to the business unit time zone for the requirements. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd -
getReferenceBusinessUnitDate
-
setReferenceBusinessUnitDate
-
granularity
public CapacityPlanStaffingRequirementResult granularity(CapacityPlanStaffingRequirementResult.GranularityEnum granularity) Granularity of the intervals -
getGranularity
-
setGranularity
-
errorCode
public CapacityPlanStaffingRequirementResult errorCode(CapacityPlanStaffingRequirementResult.ErrorCodeEnum errorCode) The error code when status is 'Failed' -
getErrorCode
-
setErrorCode
-
downloadUrl
The URL to get the requirements results for the capacity plan. It will be populated if the status is 'Complete' -
getDownloadUrl
-
setDownloadUrl
-
downloadTemplate
public CapacityPlanStaffingRequirementResult downloadTemplate(StaffingRequirementResultResponseTemplate downloadTemplate) Staffing requirement results always come through downloadUrl, the schema included here is just for documentation -
getDownloadTemplate
-
setDownloadTemplate
-
equals
-
hashCode
public int hashCode() -
toString
-