_propDict)) { return $this->_propDict["availability"]; } else { return null; } } /** * Sets the availability * Availability of the user to be scheduled for work and its recurrence pattern. * * @param ShiftAvailability[] $val The availability * * @return ShiftPreferences */ public function setAvailability($val) { $this->_propDict["availability"] = $val; return $this; } }