Class CreateAgentTimeOffRequest

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

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

    • CreateAgentTimeOffRequest

      public CreateAgentTimeOffRequest()
    • CreateAgentTimeOffRequest

      public CreateAgentTimeOffRequest(Boolean initWithEmptyList)
  • Method Details

    • activityCodeId

      public CreateAgentTimeOffRequest activityCodeId(String activityCodeId)
      The ID of the activity code associated with this time off request. Activity code must be of the TimeOff category
    • getActivityCodeId

      public String getActivityCodeId()
    • setActivityCodeId

      public void setActivityCodeId(String activityCodeId)
    • notes

      public CreateAgentTimeOffRequest notes(String notes)
      Notes about the time off request
    • getNotes

      public String getNotes()
    • setNotes

      public void setNotes(String notes)
    • fullDayManagementUnitDates

      public CreateAgentTimeOffRequest fullDayManagementUnitDates(List<String> fullDayManagementUnitDates)
      A set of dates in yyyy-MM-dd format. Should be interpreted in the management unit's configured time zone
    • getFullDayManagementUnitDates

      public List<String> getFullDayManagementUnitDates()
    • setFullDayManagementUnitDates

      public void setFullDayManagementUnitDates(List<String> fullDayManagementUnitDates)
    • partialDayStartDateTimes

      public CreateAgentTimeOffRequest partialDayStartDateTimes(List<Date> partialDayStartDateTimes)
      A set of start date-times in ISO-8601 format for partial day requests
    • getPartialDayStartDateTimes

      public List<Date> getPartialDayStartDateTimes()
    • setPartialDayStartDateTimes

      public void setPartialDayStartDateTimes(List<Date> partialDayStartDateTimes)
    • dailyDurationMinutes

      public CreateAgentTimeOffRequest dailyDurationMinutes(Integer dailyDurationMinutes)
      Daily duration in minutes applied to all days of this time off request. Ignored if durationMinutes is specified. At least one of dailyDurationMinutes or durationMinutes is required
    • getDailyDurationMinutes

      public Integer getDailyDurationMinutes()
    • setDailyDurationMinutes

      public void setDailyDurationMinutes(Integer dailyDurationMinutes)
    • durationMinutes

      public CreateAgentTimeOffRequest durationMinutes(List<Integer> durationMinutes)
      Duration in minutes for each day of this time off request. Must match the size of fullDayManagementUnitDates or partialDayStartDateTimes. At least one of dailyDurationMinutes or durationMinutes is required
    • getDurationMinutes

      public List<Integer> getDurationMinutes()
    • setDurationMinutes

      public void setDurationMinutes(List<Integer> durationMinutes)
    • payableMinutes

      public CreateAgentTimeOffRequest payableMinutes(List<Integer> payableMinutes)
      Payable minutes for each day of this time off request, representing scheduled paid time displaced by this request. Defaults to dailyDurationMinutes if not specified
    • getPayableMinutes

      public List<Integer> getPayableMinutes()
    • setPayableMinutes

      public void setPayableMinutes(List<Integer> payableMinutes)
    • 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