_propDict)) { return $this->_propDict["minAndroidSecurityPatchLevel"]; } else { return null; } } /** * Sets the minAndroidSecurityPatchLevel * Minimum Android security patch level. * * @param string $val The minAndroidSecurityPatchLevel * * @return AospDeviceOwnerCompliancePolicy */ public function setMinAndroidSecurityPatchLevel($val) { $this->_propDict["minAndroidSecurityPatchLevel"] = $val; return $this; } /** * Gets the osMaximumVersion * Maximum Android version. * * @return string|null The osMaximumVersion */ public function getOsMaximumVersion() { if (array_key_exists("osMaximumVersion", $this->_propDict)) { return $this->_propDict["osMaximumVersion"]; } else { return null; } } /** * Sets the osMaximumVersion * Maximum Android version. * * @param string $val The osMaximumVersion * * @return AospDeviceOwnerCompliancePolicy */ public function setOsMaximumVersion($val) { $this->_propDict["osMaximumVersion"] = $val; return $this; } /** * Gets the osMinimumVersion * Minimum Android version. * * @return string|null The osMinimumVersion */ public function getOsMinimumVersion() { if (array_key_exists("osMinimumVersion", $this->_propDict)) { return $this->_propDict["osMinimumVersion"]; } else { return null; } } /** * Sets the osMinimumVersion * Minimum Android version. * * @param string $val The osMinimumVersion * * @return AospDeviceOwnerCompliancePolicy */ public function setOsMinimumVersion($val) { $this->_propDict["osMinimumVersion"] = $val; return $this; } /** * Gets the passwordMinimumLength * Minimum password length. Valid values 4 to 16 * * @return int|null The passwordMinimumLength */ public function getPasswordMinimumLength() { if (array_key_exists("passwordMinimumLength", $this->_propDict)) { return $this->_propDict["passwordMinimumLength"]; } else { return null; } } /** * Sets the passwordMinimumLength * Minimum password length. Valid values 4 to 16 * * @param int $val The passwordMinimumLength * * @return AospDeviceOwnerCompliancePolicy */ public function setPasswordMinimumLength($val) { $this->_propDict["passwordMinimumLength"] = intval($val); return $this; } /** * Gets the passwordMinutesOfInactivityBeforeLock * Minutes of inactivity before a password is required. Valid values 1 to 8640 * * @return int|null The passwordMinutesOfInactivityBeforeLock */ public function getPasswordMinutesOfInactivityBeforeLock() { if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; } else { return null; } } /** * Sets the passwordMinutesOfInactivityBeforeLock * Minutes of inactivity before a password is required. Valid values 1 to 8640 * * @param int $val The passwordMinutesOfInactivityBeforeLock * * @return AospDeviceOwnerCompliancePolicy */ public function setPasswordMinutesOfInactivityBeforeLock($val) { $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); return $this; } /** * Gets the passwordRequired * Require a password to unlock device. * * @return bool|null The passwordRequired */ public function getPasswordRequired() { if (array_key_exists("passwordRequired", $this->_propDict)) { return $this->_propDict["passwordRequired"]; } else { return null; } } /** * Sets the passwordRequired * Require a password to unlock device. * * @param bool $val The passwordRequired * * @return AospDeviceOwnerCompliancePolicy */ public function setPasswordRequired($val) { $this->_propDict["passwordRequired"] = boolval($val); return $this; } /** * Gets the passwordRequiredType * Type of characters in password. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. * * @return AndroidDeviceOwnerRequiredPasswordType|null The passwordRequiredType */ public function getPasswordRequiredType() { if (array_key_exists("passwordRequiredType", $this->_propDict)) { if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { return $this->_propDict["passwordRequiredType"]; } else { $this->_propDict["passwordRequiredType"] = new AndroidDeviceOwnerRequiredPasswordType($this->_propDict["passwordRequiredType"]); return $this->_propDict["passwordRequiredType"]; } } return null; } /** * Sets the passwordRequiredType * Type of characters in password. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. * * @param AndroidDeviceOwnerRequiredPasswordType $val The passwordRequiredType * * @return AospDeviceOwnerCompliancePolicy */ public function setPasswordRequiredType($val) { $this->_propDict["passwordRequiredType"] = $val; return $this; } /** * Gets the securityBlockJailbrokenDevices * Devices must not be jailbroken or rooted. * * @return bool|null The securityBlockJailbrokenDevices */ public function getSecurityBlockJailbrokenDevices() { if (array_key_exists("securityBlockJailbrokenDevices", $this->_propDict)) { return $this->_propDict["securityBlockJailbrokenDevices"]; } else { return null; } } /** * Sets the securityBlockJailbrokenDevices * Devices must not be jailbroken or rooted. * * @param bool $val The securityBlockJailbrokenDevices * * @return AospDeviceOwnerCompliancePolicy */ public function setSecurityBlockJailbrokenDevices($val) { $this->_propDict["securityBlockJailbrokenDevices"] = boolval($val); return $this; } /** * Gets the storageRequireEncryption * Require encryption on Android devices. * * @return bool|null The storageRequireEncryption */ public function getStorageRequireEncryption() { if (array_key_exists("storageRequireEncryption", $this->_propDict)) { return $this->_propDict["storageRequireEncryption"]; } else { return null; } } /** * Sets the storageRequireEncryption * Require encryption on Android devices. * * @param bool $val The storageRequireEncryption * * @return AospDeviceOwnerCompliancePolicy */ public function setStorageRequireEncryption($val) { $this->_propDict["storageRequireEncryption"] = boolval($val); return $this; } }