_propDict)) { if (is_a($this->_propDict["breaks"], "\Beta\Microsoft\Graph\Model\TimeCardBreak") || is_null($this->_propDict["breaks"])) { return $this->_propDict["breaks"]; } else { $this->_propDict["breaks"] = new TimeCardBreak($this->_propDict["breaks"]); return $this->_propDict["breaks"]; } } return null; } /** * Sets the breaks * The list of breaks associated with the timeCard. * * @param TimeCardBreak $val The value to assign to the breaks * * @return TimeCardEntry The TimeCardEntry */ public function setBreaks($val) { $this->_propDict["breaks"] = $val; return $this; } /** * Gets the clockInEvent * The clock-in event of the timeCard. * * @return TimeCardEvent|null The clockInEvent */ public function getClockInEvent() { if (array_key_exists("clockInEvent", $this->_propDict)) { if (is_a($this->_propDict["clockInEvent"], "\Beta\Microsoft\Graph\Model\TimeCardEvent") || is_null($this->_propDict["clockInEvent"])) { return $this->_propDict["clockInEvent"]; } else { $this->_propDict["clockInEvent"] = new TimeCardEvent($this->_propDict["clockInEvent"]); return $this->_propDict["clockInEvent"]; } } return null; } /** * Sets the clockInEvent * The clock-in event of the timeCard. * * @param TimeCardEvent $val The value to assign to the clockInEvent * * @return TimeCardEntry The TimeCardEntry */ public function setClockInEvent($val) { $this->_propDict["clockInEvent"] = $val; return $this; } /** * Gets the clockOutEvent * The clock-out event of the timeCard. * * @return TimeCardEvent|null The clockOutEvent */ public function getClockOutEvent() { if (array_key_exists("clockOutEvent", $this->_propDict)) { if (is_a($this->_propDict["clockOutEvent"], "\Beta\Microsoft\Graph\Model\TimeCardEvent") || is_null($this->_propDict["clockOutEvent"])) { return $this->_propDict["clockOutEvent"]; } else { $this->_propDict["clockOutEvent"] = new TimeCardEvent($this->_propDict["clockOutEvent"]); return $this->_propDict["clockOutEvent"]; } } return null; } /** * Sets the clockOutEvent * The clock-out event of the timeCard. * * @param TimeCardEvent $val The value to assign to the clockOutEvent * * @return TimeCardEntry The TimeCardEntry */ public function setClockOutEvent($val) { $this->_propDict["clockOutEvent"] = $val; return $this; } }