Class ShiftTradeNotification

java.lang.Object
com.mypurecloud.sdk.v2.model.ShiftTradeNotification
All Implemented Interfaces:
Serializable

public class ShiftTradeNotification extends Object implements Serializable
ShiftTradeNotification
See Also:
  • Constructor Details

    • ShiftTradeNotification

      public ShiftTradeNotification()
    • ShiftTradeNotification

      public ShiftTradeNotification(Boolean initWithEmptyList)
  • Method Details

    • weekDate

      public ShiftTradeNotification weekDate(String weekDate)
      The start week date of the initiating shift of the shift trade in yyyy-MM-dd format
    • getWeekDate

      public String getWeekDate()
    • setWeekDate

      public void setWeekDate(String weekDate)
    • tradeId

      public ShiftTradeNotification tradeId(String tradeId)
      The ID of the shift trade
    • getTradeId

      public String getTradeId()
    • setTradeId

      public void setTradeId(String tradeId)
    • oneSided

      public ShiftTradeNotification oneSided(Boolean oneSided)
      Whether this is a one sided shift trade
    • getOneSided

      public Boolean getOneSided()
    • setOneSided

      public void setOneSided(Boolean oneSided)
    • newState

      The new state of the shift trade, null if there was no change
    • getNewState

    • setNewState

      public void setNewState(ShiftTradeNotification.NewStateEnum newState)
    • initiatingUser

      public ShiftTradeNotification initiatingUser(UserReference initiatingUser)
      The user who initiated the shift trade
    • getInitiatingUser

      public UserReference getInitiatingUser()
    • setInitiatingUser

      public void setInitiatingUser(UserReference initiatingUser)
    • initiatingShiftDate

      public ShiftTradeNotification initiatingShiftDate(Date 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

      public Date getInitiatingShiftDate()
    • setInitiatingShiftDate

      public void setInitiatingShiftDate(Date initiatingShiftDate)
    • receivingUser

      public ShiftTradeNotification receivingUser(UserReference receivingUser)
      The user on the receiving side of this shift trade (null if not matched)
    • getReceivingUser

      public UserReference getReceivingUser()
    • setReceivingUser

      public void setReceivingUser(UserReference receivingUser)
    • receivingShiftDate

      public ShiftTradeNotification receivingShiftDate(Date 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

      public Date getReceivingShiftDate()
    • setReceivingShiftDate

      public void setReceivingShiftDate(Date receivingShiftDate)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object