Package com.mypurecloud.sdk.v2.model
Class AddOpportunityBody
java.lang.Object
com.mypurecloud.sdk.v2.model.AddOpportunityBody
- All Implemented Interfaces:
Serializable
AddOpportunityBody
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe approval type for enrollments -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityCodeId(String activityCodeId) The ID of the activity code associated with the opportunityapprovalType(AddOpportunityBody.ApprovalTypeEnum approvalType) The approval type for enrollmentsThe maximum capacity (enrollment slots) for this opportunitydeadlineDate(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 formatbooleangetName()inthashCode()The name of the opportunityThe date and time when the opportunity opens for enrollment in ISO-8601 format.voidsetActivityCodeId(String activityCodeId) voidsetApprovalType(AddOpportunityBody.ApprovalTypeEnum approvalType) voidsetCapacity(Integer capacity) voidsetDeadlineDate(Date deadlineDate) voidsetDescription(String description) voidsetEndDate(Date endDate) voidvoidsetOpenDate(Date openDate) voidsetStartDate(Date startDate) The start date and time of the opportunity in ISO-8601 formattoString()
-
Constructor Details
-
AddOpportunityBody
public AddOpportunityBody() -
AddOpportunityBody
-
-
Method Details
-
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
-
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
-
capacity
The maximum capacity (enrollment slots) for this opportunity -
getCapacity
-
setCapacity
-
equals
-
hashCode
public int hashCode() -
toString
-