Package com.mypurecloud.sdk.v2.model
Class ShiftTradeResponseItem
java.lang.Object
com.mypurecloud.sdk.v2.model.ShiftTradeResponseItem
- All Implemented Interfaces:
Serializable
ShiftTradeResponseItem
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe state of this shift trade -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptableIntervals(List<RequiredDateRange> acceptableIntervals) Time frames when the initiating user is willing to accept trades.booleanexpirationDate(Date expirationDate) When this shift trade will expire.getId()getState()inthashCode()The ID of this shift tradeinitiating(ShiftTradeInitiatingSideResponseItem initiating) Details about the initiating user involved in this shift trademetadata(WfmVersionedEntityMetadata metadata) Version metadata for this shift tradeWhether this is a one-sided shift trade (e.g. the initiating user is not asking for a shift in return)receiving(ShiftTradeReceivingSideResponseItem receiving) Details about the receiving user involved in this shift tradereviewedBy(UserReference reviewedBy) The admin who approved or denied this shift tradereviewedDate(Date reviewedDate) The timestamp of when the trade request was reviewed by an admin in ISO-8601 formatvoidsetAcceptableIntervals(List<RequiredDateRange> acceptableIntervals) voidsetExpirationDate(Date expirationDate) voidvoidsetInitiating(ShiftTradeInitiatingSideResponseItem initiating) voidsetMetadata(WfmVersionedEntityMetadata metadata) voidsetOneSided(Boolean oneSided) voidsetReceiving(ShiftTradeReceivingSideResponseItem receiving) voidsetReviewedBy(UserReference reviewedBy) voidsetReviewedDate(Date reviewedDate) voidvoidThe state of this shift tradetarget(ShiftTradeTargetResponseItem target) The user to whom the shift trade request was sent in a direct trade, or the user with whom a shift trade was MatchedtoString()
-
Constructor Details
-
ShiftTradeResponseItem
public ShiftTradeResponseItem() -
ShiftTradeResponseItem
-
-
Method Details
-
id
The ID of this shift trade -
getId
-
setId
-
state
The state of this shift trade -
getState
-
setState
-
expirationDate
When this shift trade will expire. Date time is represented as an ISO-8601 string -
getExpirationDate
-
setExpirationDate
-
initiating
Details about the initiating user involved in this shift trade -
getInitiating
-
setInitiating
-
receiving
Details about the receiving user involved in this shift trade -
getReceiving
-
setReceiving
-
acceptableIntervals
Time frames when the initiating user is willing to accept trades. Empty means giving up the shift -
getAcceptableIntervals
-
setAcceptableIntervals
-
oneSided
Whether this is a one-sided shift trade (e.g. the initiating user is not asking for a shift in return) -
getOneSided
-
setOneSided
-
target
The user to whom the shift trade request was sent in a direct trade, or the user with whom a shift trade was Matched -
getTarget
-
setTarget
-
reviewedBy
The admin who approved or denied this shift trade -
getReviewedBy
-
setReviewedBy
-
reviewedDate
The timestamp of when the trade request was reviewed by an admin in ISO-8601 format -
getReviewedDate
-
setReviewedDate
-
metadata
Version metadata for this shift trade -
getMetadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-