Class AddOpportunityBody

java.lang.Object
com.mypurecloud.sdk.v2.model.AddOpportunityBody
All Implemented Interfaces:
Serializable

public class AddOpportunityBody extends Object implements Serializable
AddOpportunityBody
See Also:
  • Constructor Details

    • AddOpportunityBody

      public AddOpportunityBody()
    • AddOpportunityBody

      public AddOpportunityBody(Boolean initWithEmptyList)
  • Method Details

    • startDate

      public AddOpportunityBody startDate(Date startDate)
      The start date and time of the opportunity in ISO-8601 format
    • getStartDate

      public Date getStartDate()
    • setStartDate

      public void setStartDate(Date startDate)
    • endDate

      public AddOpportunityBody endDate(Date endDate)
      The end date and time of the opportunity in ISO-8601 format
    • getEndDate

      public Date getEndDate()
    • setEndDate

      public void setEndDate(Date endDate)
    • openDate

      public AddOpportunityBody openDate(Date 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

      public Date getOpenDate()
    • setOpenDate

      public void setOpenDate(Date openDate)
    • deadlineDate

      public AddOpportunityBody deadlineDate(Date deadlineDate)
      The deadline date and time for enrollment in the opportunity in ISO-8601 format
    • getDeadlineDate

      public Date getDeadlineDate()
    • setDeadlineDate

      public void setDeadlineDate(Date deadlineDate)
    • name

      public AddOpportunityBody name(String name)
      The name of the opportunity
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • description

      public AddOpportunityBody description(String description)
      Additional details describing the purpose or context of this opportunity
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • activityCodeId

      public AddOpportunityBody activityCodeId(String activityCodeId)
      The ID of the activity code associated with the opportunity
    • getActivityCodeId

      public String getActivityCodeId()
    • setActivityCodeId

      public void setActivityCodeId(String activityCodeId)
    • approvalType

      public AddOpportunityBody approvalType(AddOpportunityBody.ApprovalTypeEnum approvalType)
      The approval type for enrollments
    • getApprovalType

      public AddOpportunityBody.ApprovalTypeEnum getApprovalType()
    • setApprovalType

      public void setApprovalType(AddOpportunityBody.ApprovalTypeEnum approvalType)
    • capacity

      public AddOpportunityBody capacity(Integer capacity)
      The maximum capacity (enrollment slots) for this opportunity
    • getCapacity

      public Integer getCapacity()
    • setCapacity

      public void setCapacity(Integer capacity)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object