_propDict)) { if (is_a($this->_propDict["classification"], "\Microsoft\Graph\Model\PermissionClassificationType") || is_null($this->_propDict["classification"])) { return $this->_propDict["classification"]; } else { $this->_propDict["classification"] = new PermissionClassificationType($this->_propDict["classification"]); return $this->_propDict["classification"]; } } return null; } /** * Sets the classification * The classification value being given. Possible value: low. Doesn't support $filter. * * @param PermissionClassificationType $val The classification * * @return DelegatedPermissionClassification */ public function setClassification($val) { $this->_propDict["classification"] = $val; return $this; } /** * Gets the permissionId * The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Required on create. Doesn't support $filter. * * @return string|null The permissionId */ public function getPermissionId() { if (array_key_exists("permissionId", $this->_propDict)) { return $this->_propDict["permissionId"]; } else { return null; } } /** * Sets the permissionId * The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Required on create. Doesn't support $filter. * * @param string $val The permissionId * * @return DelegatedPermissionClassification */ public function setPermissionId($val) { $this->_propDict["permissionId"] = $val; return $this; } /** * Gets the permissionName * The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Doesn't support $filter. * * @return string|null The permissionName */ public function getPermissionName() { if (array_key_exists("permissionName", $this->_propDict)) { return $this->_propDict["permissionName"]; } else { return null; } } /** * Sets the permissionName * The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Doesn't support $filter. * * @param string $val The permissionName * * @return DelegatedPermissionClassification */ public function setPermissionName($val) { $this->_propDict["permissionName"] = $val; return $this; } }