Package com.mypurecloud.sdk.v2.model
Class PatchShiftTradeRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.PatchShiftTradeRequest
- All Implemented Interfaces:
Serializable
PatchShiftTradeRequest
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptableIntervals(ListWrapperInterval acceptableIntervals) Update the acceptable intervals the initiating user is willing to accept in trade.booleanexpiration(ValueWrapperDate expiration) Update the expiration time for this shift trade.inthashCode()metadata(WfmVersionedEntityMetadata metadata) Version metadatareceivingUserId(ValueWrapperString receivingUserId) Update the ID of the receiving user to direct the request at a specific user, or set the wrapped id to null to open up a trade to be matched by any user.voidsetAcceptableIntervals(ListWrapperInterval acceptableIntervals) voidsetExpiration(ValueWrapperDate expiration) voidsetMetadata(WfmVersionedEntityMetadata metadata) voidsetReceivingUserId(ValueWrapperString receivingUserId) toString()
-
Constructor Details
-
PatchShiftTradeRequest
public PatchShiftTradeRequest() -
PatchShiftTradeRequest
-
-
Method Details
-
receivingUserId
Update the ID of the receiving user to direct the request at a specific user, or set the wrapped id to null to open up a trade to be matched by any user. -
getReceivingUserId
-
setReceivingUserId
-
expiration
Update the expiration time for this shift trade. -
getExpiration
-
setExpiration
-
acceptableIntervals
Update the acceptable intervals the initiating user is willing to accept in trade. Setting the enclosed list to empty will make this a one sided trade request -
getAcceptableIntervals
-
setAcceptableIntervals
-
metadata
Version metadata -
getMetadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-