Package com.mypurecloud.sdk.v2.model
Class AlternativeShiftNotification
java.lang.Object
com.mypurecloud.sdk.v2.model.AlternativeShiftNotification
- All Implemented Interfaces:
Serializable
AlternativeShiftNotification
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe granularity of alternative shifts to be tradedstatic enumThe new state of the alternative shift trade, null if there was no change -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()granularity(AlternativeShiftNotification.GranularityEnum granularity) The granularity of alternative shifts to be tradedinthashCode()initiatingShiftDate(Date initiatingShiftDate) The start date and time of the initiating shift.initiatingUser(UserReference initiatingUser) The user who initiated the alternative shift tradeThe new state of the alternative shift trade, null if there was no changereceivingShiftDate(Date receivingShiftDate) The start date and time of the receiving alternative shift.receivingUser(UserReference receivingUser) The user on the receiving side of this alternative shift tradevoidvoidsetInitiatingShiftDate(Date initiatingShiftDate) voidsetInitiatingUser(UserReference initiatingUser) voidvoidsetReceivingShiftDate(Date receivingShiftDate) voidsetReceivingUser(UserReference receivingUser) voidsetWeekDate(LocalDate weekDate) toString()The start date of the schedule with which this trade is associated.
-
Constructor Details
-
AlternativeShiftNotification
public AlternativeShiftNotification() -
AlternativeShiftNotification
-
-
Method Details
-
getId
-
weekDate
The start date of the schedule with which this trade is associated. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd -
getWeekDate
-
setWeekDate
-
granularity
public AlternativeShiftNotification granularity(AlternativeShiftNotification.GranularityEnum granularity) The granularity of alternative shifts to be traded -
getGranularity
-
setGranularity
-
newState
The new state of the alternative shift trade, null if there was no change -
getNewState
-
setNewState
-
initiatingUser
The user who initiated the alternative 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 alternative shift trade -
getReceivingUser
-
setReceivingUser
-
receivingShiftDate
The start date and time of the receiving alternative shift. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getReceivingShiftDate
-
setReceivingShiftDate
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-