Package com.mypurecloud.sdk.v2.model
Class AddShiftTradeJobRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.AddShiftTradeJobRequest
- All Implemented Interfaces:
Serializable
AddShiftTradeJobRequest
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptableIntervals(List<RequiredDateRange> acceptableIntervals) Time frames when the initiating user is willing to accept a shift in exchange.booleanexpirationDate(Date expirationDate) When this shift trade will expire.inthashCode()initiatingShift(InitiatingShiftRequestItem initiatingShift) The shift that the initiating user wants to give up in this tradevoidsetAcceptableIntervals(List<RequiredDateRange> acceptableIntervals) voidsetExpirationDate(Date expirationDate) voidsetInitiatingShift(InitiatingShiftRequestItem initiatingShift) voidsetTarget(ShiftTradeTargetRequestItem target) target(ShiftTradeTargetRequestItem target) Optional shift trade target, can be used for example for direct user to user tradetoString()
-
Constructor Details
-
AddShiftTradeJobRequest
public AddShiftTradeJobRequest() -
AddShiftTradeJobRequest
-
-
Method Details
-
initiatingShift
The shift that the initiating user wants to give up in this trade -
getInitiatingShift
-
setInitiatingShift
-
acceptableIntervals
Time frames when the initiating user is willing to accept a shift in exchange. Empty means giving up the shift without taking on another one -
getAcceptableIntervals
-
setAcceptableIntervals
-
target
Optional shift trade target, can be used for example for direct user to user trade -
getTarget
-
setTarget
-
expirationDate
When this shift trade will expire. Date time is represented as an ISO-8601 string -
getExpirationDate
-
setExpirationDate
-
equals
-
hashCode
public int hashCode() -
toString
-