_propDict)) { if (is_a($this->_propDict["permissionType"], "\Microsoft\Graph\Model\TeamsAppResourceSpecificPermissionType") || is_null($this->_propDict["permissionType"])) { return $this->_propDict["permissionType"]; } else { $this->_propDict["permissionType"] = new TeamsAppResourceSpecificPermissionType($this->_propDict["permissionType"]); return $this->_propDict["permissionType"]; } } return null; } /** * Sets the permissionType * The type of resource-specific permission. * * @param TeamsAppResourceSpecificPermissionType $val The value to assign to the permissionType * * @return TeamsAppResourceSpecificPermission The TeamsAppResourceSpecificPermission */ public function setPermissionType($val) { $this->_propDict["permissionType"] = $val; return $this; } /** * Gets the permissionValue * The name of the resource-specific permission. * * @return string|null The permissionValue */ public function getPermissionValue() { if (array_key_exists("permissionValue", $this->_propDict)) { return $this->_propDict["permissionValue"]; } else { return null; } } /** * Sets the permissionValue * The name of the resource-specific permission. * * @param string $val The value of the permissionValue * * @return TeamsAppResourceSpecificPermission */ public function setPermissionValue($val) { $this->_propDict["permissionValue"] = $val; return $this; } }