_propDict)) { return $this->_propDict["allowAdHocPermissions"]; } else { return null; } } /** * Sets the allowAdHocPermissions * * @param bool $val The value of the allowAdHocPermissions * * @return EncryptWithUserDefinedRights */ public function setAllowAdHocPermissions($val) { $this->_propDict["allowAdHocPermissions"] = $val; return $this; } /** * Gets the allowMailForwarding * * @return bool|null The allowMailForwarding */ public function getAllowMailForwarding() { if (array_key_exists("allowMailForwarding", $this->_propDict)) { return $this->_propDict["allowMailForwarding"]; } else { return null; } } /** * Sets the allowMailForwarding * * @param bool $val The value of the allowMailForwarding * * @return EncryptWithUserDefinedRights */ public function setAllowMailForwarding($val) { $this->_propDict["allowMailForwarding"] = $val; return $this; } /** * Gets the decryptionRightsManagementTemplateId * * @return string|null The decryptionRightsManagementTemplateId */ public function getDecryptionRightsManagementTemplateId() { if (array_key_exists("decryptionRightsManagementTemplateId", $this->_propDict)) { return $this->_propDict["decryptionRightsManagementTemplateId"]; } else { return null; } } /** * Sets the decryptionRightsManagementTemplateId * * @param string $val The value of the decryptionRightsManagementTemplateId * * @return EncryptWithUserDefinedRights */ public function setDecryptionRightsManagementTemplateId($val) { $this->_propDict["decryptionRightsManagementTemplateId"] = $val; return $this; } }