Package com.mypurecloud.sdk.v2.model
Class ShiftTradeNotification
java.lang.Object
com.mypurecloud.sdk.v2.model.ShiftTradeNotification
- All Implemented Interfaces:
Serializable
ShiftTradeNotification
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe new state of the shift trade, null if there was no change -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()initiatingShiftDate(Date initiatingShiftDate) The start date and time of the initiating shift.initiatingUser(UserReference initiatingUser) The user who initiated the shift tradenewState(ShiftTradeNotification.NewStateEnum newState) The new state of the shift trade, null if there was no changeWhether this is a one sided shift tradereceivingShiftDate(Date receivingShiftDate) The start date and time of the receiving shift (null if not matched or if one-sided.receivingUser(UserReference receivingUser) The user on the receiving side of this shift trade (null if not matched)voidsetInitiatingShiftDate(Date initiatingShiftDate) voidsetInitiatingUser(UserReference initiatingUser) voidvoidsetOneSided(Boolean oneSided) voidsetReceivingShiftDate(Date receivingShiftDate) voidsetReceivingUser(UserReference receivingUser) voidsetTradeId(String tradeId) voidsetWeekDate(String weekDate) toString()The ID of the shift tradeThe start week date of the initiating shift of the shift trade in yyyy-MM-dd format
-
Constructor Details
-
ShiftTradeNotification
public ShiftTradeNotification() -
ShiftTradeNotification
-
-
Method Details
-
weekDate
The start week date of the initiating shift of the shift trade in yyyy-MM-dd format -
getWeekDate
-
setWeekDate
-
tradeId
The ID of the shift trade -
getTradeId
-
setTradeId
-
oneSided
Whether this is a one sided shift trade -
getOneSided
-
setOneSided
-
newState
The new state of the shift trade, null if there was no change -
getNewState
-
setNewState
-
initiatingUser
The user who initiated the shift trade -
getInitiatingUser
-
setInitiatingUser
-
initiatingShiftDate
The start date and time of the initiating shift. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getInitiatingShiftDate
-
setInitiatingShiftDate
-
receivingUser
The user on the receiving side of this shift trade (null if not matched) -
getReceivingUser
-
setReceivingUser
-
receivingShiftDate
The start date and time of the receiving shift (null if not matched or if one-sided. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getReceivingShiftDate
-
setReceivingShiftDate
-
equals
-
hashCode
public int hashCode() -
toString
-