_propDict)) { if (is_a($this->_propDict["recipientActionDateTime"], "\DateTime") || is_null($this->_propDict["recipientActionDateTime"])) { return $this->_propDict["recipientActionDateTime"]; } else { $this->_propDict["recipientActionDateTime"] = new \DateTime($this->_propDict["recipientActionDateTime"]); return $this->_propDict["recipientActionDateTime"]; } } return null; } /** * Sets the recipientActionDateTime * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z * * @param \DateTime $val The recipientActionDateTime * * @return OfferShiftRequest */ public function setRecipientActionDateTime($val) { $this->_propDict["recipientActionDateTime"] = $val; return $this; } /** * Gets the recipientActionMessage * Custom message sent by recipient of the offer shift request. * * @return string|null The recipientActionMessage */ public function getRecipientActionMessage() { if (array_key_exists("recipientActionMessage", $this->_propDict)) { return $this->_propDict["recipientActionMessage"]; } else { return null; } } /** * Sets the recipientActionMessage * Custom message sent by recipient of the offer shift request. * * @param string $val The recipientActionMessage * * @return OfferShiftRequest */ public function setRecipientActionMessage($val) { $this->_propDict["recipientActionMessage"] = $val; return $this; } /** * Gets the recipientUserId * User ID of the recipient of the offer shift request. * * @return string|null The recipientUserId */ public function getRecipientUserId() { if (array_key_exists("recipientUserId", $this->_propDict)) { return $this->_propDict["recipientUserId"]; } else { return null; } } /** * Sets the recipientUserId * User ID of the recipient of the offer shift request. * * @param string $val The recipientUserId * * @return OfferShiftRequest */ public function setRecipientUserId($val) { $this->_propDict["recipientUserId"] = $val; return $this; } /** * Gets the senderShiftId * User ID of the sender of the offer shift request. * * @return string|null The senderShiftId */ public function getSenderShiftId() { if (array_key_exists("senderShiftId", $this->_propDict)) { return $this->_propDict["senderShiftId"]; } else { return null; } } /** * Sets the senderShiftId * User ID of the sender of the offer shift request. * * @param string $val The senderShiftId * * @return OfferShiftRequest */ public function setSenderShiftId($val) { $this->_propDict["senderShiftId"] = $val; return $this; } }