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) 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()
-
-
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
-
getAcceptableIntervals
-
setAcceptableIntervals
-
equals
-
hashCode
public int hashCode() -
toString
-