Package com.mypurecloud.sdk.v2.model
Class AddShiftTradeRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.AddShiftTradeRequest
- All Implemented Interfaces:
Serializable
AddShiftTradeRequest
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptableIntervals(List<String> acceptableIntervals) The acceptable intervals the initiating user is willing to accept in trade.booleanexpiration(Date expiration) When this shift trade request should expire.inthashCode()initiatingShiftId(String initiatingShiftId) The ID of the shift that the initiating user wants to give upreceivingUserId(String receivingUserId) The ID of the user to whom to send the request (for use in direct trade requests)scheduleId(String scheduleId) The ID of the schedule to which the initiating and receiving shifts belongvoidsetAcceptableIntervals(List<String> acceptableIntervals) voidsetExpiration(Date expiration) voidsetInitiatingShiftId(String initiatingShiftId) voidsetReceivingUserId(String receivingUserId) voidsetScheduleId(String scheduleId) toString()
-
Constructor Details
-
AddShiftTradeRequest
public AddShiftTradeRequest() -
AddShiftTradeRequest
-
-
Method Details
-
scheduleId
The ID of the schedule to which the initiating and receiving shifts belong -
getScheduleId
-
setScheduleId
-
initiatingShiftId
The ID of the shift that the initiating user wants to give up -
getInitiatingShiftId
-
setInitiatingShiftId
-
receivingUserId
The ID of the user to whom to send the request (for use in direct trade requests) -
getReceivingUserId
-
setReceivingUserId
-
expiration
When this shift trade request should expire. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getExpiration
-
setExpiration
-
acceptableIntervals
The acceptable intervals the initiating user is willing to accept in trade. Empty indicates the user is giving up the shift. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss -
getAcceptableIntervals
-
setAcceptableIntervals
-
equals
-
hashCode
public int hashCode() -
toString
-