Package com.mypurecloud.sdk.v2.model
Class ShiftTradeResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.ShiftTradeResponse
- All Implemented Interfaces:
Serializable
ShiftTradeResponse
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe state of this shift trade -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptableIntervals(List<String> acceptableIntervals) booleanexpiration(Date expiration) When this shift trade offer will expire if not matched or approved.getId()getState()inthashCode()The ID of this shift tradeinitiatingShiftEnd(Date initiatingShiftEnd) The end date/time of the shift being offered for trade.initiatingShiftId(String initiatingShiftId) The ID of the shift offered for trade by the initiating userinitiatingShiftStart(Date initiatingShiftStart) The start date/time of the shift being offered for trade.initiatingUser(UserReference initiatingUser) The user who initiated this trademetadata(WfmVersionedEntityMetadata metadata) Version data for this tradeWhether this is a one-sided shift trade (e.g.receivingShiftEnd(Date receivingShiftEnd) The end date/time of the receiving shift.receivingShiftId(String receivingShiftId) The ID of the shift being exchanged for the initiating shift, null if the receiving user is picking up a shiftreceivingShiftStart(Date receivingShiftStart) The start date/time of the receiving shift.receivingUser(UserReference receivingUser) The user matching the trade, or if the state is not Matched, the user to whom the trade request was sentreviewedBy(UserReference reviewedBy) The user who reviewed this shift tradereviewedDate(Date reviewedDate) The timestamp when this shift trade was reviewed.schedule(BuScheduleReferenceForMuRoute schedule) A reference to the associated schedulevoidsetAcceptableIntervals(List<String> acceptableIntervals) voidsetExpiration(Date expiration) voidvoidsetInitiatingShiftEnd(Date initiatingShiftEnd) voidsetInitiatingShiftId(String initiatingShiftId) voidsetInitiatingShiftStart(Date initiatingShiftStart) voidsetInitiatingUser(UserReference initiatingUser) voidsetMetadata(WfmVersionedEntityMetadata metadata) voidsetOneSided(Boolean oneSided) voidsetReceivingShiftEnd(Date receivingShiftEnd) voidsetReceivingShiftId(String receivingShiftId) voidsetReceivingShiftStart(Date receivingShiftStart) voidsetReceivingUser(UserReference receivingUser) voidsetReviewedBy(UserReference reviewedBy) voidsetReviewedDate(Date reviewedDate) voidsetSchedule(BuScheduleReferenceForMuRoute schedule) voidvoidsetWeekDate(LocalDate weekDate) The state of this shift tradetoString()The start week date of the associated schedule in yyyy-MM-dd format.
-
Constructor Details
-
ShiftTradeResponse
public ShiftTradeResponse()
-
-
Method Details
-
id
The ID of this shift trade -
getId
-
setId
-
weekDate
The start week date of the associated schedule in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd -
getWeekDate
-
setWeekDate
-
schedule
A reference to the associated schedule -
getSchedule
-
setSchedule
-
state
The state of this shift trade -
getState
-
setState
-
initiatingUser
The user who initiated this trade -
getInitiatingUser
-
setInitiatingUser
-
initiatingShiftId
The ID of the shift offered for trade by the initiating user -
getInitiatingShiftId
-
setInitiatingShiftId
-
initiatingShiftStart
The start date/time of the shift being offered for trade. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getInitiatingShiftStart
-
setInitiatingShiftStart
-
initiatingShiftEnd
The end date/time of the shift being offered for trade. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getInitiatingShiftEnd
-
setInitiatingShiftEnd
-
receivingUser
The user matching the trade, or if the state is not Matched, the user to whom the trade request was sent -
getReceivingUser
-
setReceivingUser
-
receivingShiftId
The ID of the shift being exchanged for the initiating shift, null if the receiving user is picking up a shift -
getReceivingShiftId
-
setReceivingShiftId
-
receivingShiftStart
The start date/time of the receiving shift. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getReceivingShiftStart
-
setReceivingShiftStart
-
receivingShiftEnd
The end date/time of the receiving shift. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getReceivingShiftEnd
-
setReceivingShiftEnd
-
expiration
When this shift trade offer will expire if not matched or approved. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getExpiration
-
setExpiration
-
oneSided
Whether this is a one-sided shift trade (e.g. the initiating user is not asking for a shift in return) -
getOneSided
-
setOneSided
-
acceptableIntervals
-
getAcceptableIntervals
-
setAcceptableIntervals
-
reviewedBy
The user who reviewed this shift trade -
getReviewedBy
-
setReviewedBy
-
reviewedDate
The timestamp when this shift trade was reviewed. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getReviewedDate
-
setReviewedDate
-
metadata
Version data for this trade -
getMetadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-