_propDict)) { return $this->_propDict["maxDeviceOccurrence"]; } else { return null; } } /** * Sets the maxDeviceOccurrence * Maximum times setting can be set on device. * * @param int $val The value of the maxDeviceOccurrence * * @return DeviceManagementConfigurationSettingOccurrence */ public function setMaxDeviceOccurrence($val) { $this->_propDict["maxDeviceOccurrence"] = $val; return $this; } /** * Gets the minDeviceOccurrence * Minimum times setting can be set on device. A MinDeviceOccurrence of 0 means setting is optional * * @return int|null The minDeviceOccurrence */ public function getMinDeviceOccurrence() { if (array_key_exists("minDeviceOccurrence", $this->_propDict)) { return $this->_propDict["minDeviceOccurrence"]; } else { return null; } } /** * Sets the minDeviceOccurrence * Minimum times setting can be set on device. A MinDeviceOccurrence of 0 means setting is optional * * @param int $val The value of the minDeviceOccurrence * * @return DeviceManagementConfigurationSettingOccurrence */ public function setMinDeviceOccurrence($val) { $this->_propDict["minDeviceOccurrence"] = $val; return $this; } }