Package com.mypurecloud.sdk.v2.model
Class OpportunityResult
java.lang.Object
com.mypurecloud.sdk.v2.model.OpportunityResult
- All Implemented Interfaces:
Serializable
OpportunityResult
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe approval type for enrollmentsstatic enumThe current status of the opportunitystatic enumThe system-generated message code about opportunity processing issues or validation failures -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityCodeId(String activityCodeId) The ID of the activity code associated with the opportunityagentCount(Integer agentCount) The total number of agents invited to this opportunityapprovalType(OpportunityResult.ApprovalTypeEnum approvalType) The approval type for enrollmentsThe maximum capacity (enrollment slots) for this opportunityclosedDate(Date closedDate) The date and time when the opportunity was closed in ISO-8601 formatdeadlineDate(Date deadlineDate) The deadline date and time for enrollment in the opportunity in ISO-8601 formatdescription(String description) Additional details describing the purpose or context of this opportunityThe end date and time of the opportunity in ISO-8601 formatenrollmentCounts(OpportunityEnrollmentCounts enrollmentCounts) The counts for enrollment statusesenrollmentProcessingCount(Integer enrollmentProcessingCount) The number of enrollments currently being processedbooleangetId()getName()inthashCode()The globally unique identifier for the object.metadata(WfmVersionedEntityMetadata metadata) The metadata for the opportunityThe name of the opportunityThe date and time when the opportunity opens for enrollment in ISO-8601 format.publishedDate(Date publishedDate) The date and time when the opportunity was published in ISO-8601 formatvoidsetActivityCodeId(String activityCodeId) voidsetAgentCount(Integer agentCount) voidsetApprovalType(OpportunityResult.ApprovalTypeEnum approvalType) voidsetCapacity(Integer capacity) voidsetClosedDate(Date closedDate) voidsetDeadlineDate(Date deadlineDate) voidsetDescription(String description) voidsetEndDate(Date endDate) voidsetEnrollmentCounts(OpportunityEnrollmentCounts enrollmentCounts) voidsetEnrollmentProcessingCount(Integer enrollmentProcessingCount) voidvoidsetMetadata(WfmVersionedEntityMetadata metadata) voidvoidsetOpenDate(Date openDate) voidsetPublishedDate(Date publishedDate) voidsetStartDate(Date startDate) voidvoidsetSystemMessageCode(OpportunityResult.SystemMessageCodeEnum systemMessageCode) The start date and time of the opportunity in ISO-8601 formatstatus(OpportunityResult.StatusEnum status) The current status of the opportunitysystemMessageCode(OpportunityResult.SystemMessageCodeEnum systemMessageCode) The system-generated message code about opportunity processing issues or validation failurestoString()
-
Constructor Details
-
OpportunityResult
public OpportunityResult() -
OpportunityResult
-
-
Method Details
-
id
The globally unique identifier for the object. -
getId
-
setId
-
startDate
The start date and time of the opportunity in ISO-8601 format -
getStartDate
-
setStartDate
-
endDate
The end date and time of the opportunity in ISO-8601 format -
getEndDate
-
setEndDate
-
status
The current status of the opportunity -
getStatus
-
setStatus
-
openDate
The date and time when the opportunity opens for enrollment in ISO-8601 format. If not provided or in the past, it will be automatically updated to the current time when the opportunity is published -
getOpenDate
-
setOpenDate
-
deadlineDate
The deadline date and time for enrollment in the opportunity in ISO-8601 format -
getDeadlineDate
-
setDeadlineDate
-
name
The name of the opportunity -
getName
-
setName
-
description
Additional details describing the purpose or context of this opportunity -
getDescription
-
setDescription
-
activityCodeId
The ID of the activity code associated with the opportunity -
getActivityCodeId
-
setActivityCodeId
-
approvalType
The approval type for enrollments -
getApprovalType
-
setApprovalType
-
agentCount
The total number of agents invited to this opportunity -
getAgentCount
-
setAgentCount
-
capacity
The maximum capacity (enrollment slots) for this opportunity -
getCapacity
-
setCapacity
-
enrollmentProcessingCount
The number of enrollments currently being processed -
getEnrollmentProcessingCount
-
setEnrollmentProcessingCount
-
enrollmentCounts
The counts for enrollment statuses -
getEnrollmentCounts
-
setEnrollmentCounts
-
publishedDate
The date and time when the opportunity was published in ISO-8601 format -
getPublishedDate
-
setPublishedDate
-
closedDate
The date and time when the opportunity was closed in ISO-8601 format -
getClosedDate
-
setClosedDate
-
systemMessageCode
public OpportunityResult systemMessageCode(OpportunityResult.SystemMessageCodeEnum systemMessageCode) The system-generated message code about opportunity processing issues or validation failures -
getSystemMessageCode
-
setSystemMessageCode
-
metadata
The metadata for the opportunity -
getMetadata
-
setMetadata
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-