_propDict)) { if (is_a($this->_propDict["availabilityItems"], "\Microsoft\Graph\Model\AvailabilityItem") || is_null($this->_propDict["availabilityItems"])) { return $this->_propDict["availabilityItems"]; } else { $this->_propDict["availabilityItems"] = new AvailabilityItem($this->_propDict["availabilityItems"]); return $this->_propDict["availabilityItems"]; } } return null; } /** * Sets the availabilityItems * Each item in this collection indicates a slot and the status of the staff member. * * @param AvailabilityItem $val The value to assign to the availabilityItems * * @return StaffAvailabilityItem The StaffAvailabilityItem */ public function setAvailabilityItems($val) { $this->_propDict["availabilityItems"] = $val; return $this; } /** * Gets the staffId * The ID of the staff member. * * @return string|null The staffId */ public function getStaffId() { if (array_key_exists("staffId", $this->_propDict)) { return $this->_propDict["staffId"]; } else { return null; } } /** * Sets the staffId * The ID of the staff member. * * @param string $val The value of the staffId * * @return StaffAvailabilityItem */ public function setStaffId($val) { $this->_propDict["staffId"] = $val; return $this; } }