_propDict)) { return $this->_propDict["id"]; } else { return null; } } /** * Sets the id * The unique identifier of an app role or delegated permission exposed by the resource application. For delegated permissions, this should match the id property of one of the delegated permissions in the oauth2PermissionScopes collection of the resource application's service principal. For app roles (application permissions), this should match the id property of an app role in the appRoles collection of the resource application's service principal. * * @param string $val The value of the id * * @return ResourceAccess */ public function setId($val) { $this->_propDict["id"] = $val; return $this; } /** * Gets the type * Specifies whether the id property references a delegated permission or an app role (application permission). The possible values are: Scope (for delegated permissions) or Role (for app roles). * * @return string|null The type */ public function getType() { if (array_key_exists("type", $this->_propDict)) { return $this->_propDict["type"]; } else { return null; } } /** * Sets the type * Specifies whether the id property references a delegated permission or an app role (application permission). The possible values are: Scope (for delegated permissions) or Role (for app roles). * * @param string $val The value of the type * * @return ResourceAccess */ public function setType($val) { $this->_propDict["type"] = $val; return $this; } }