_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * Description of the Role definition. * * @param string $val The description * * @return RoleDefinition */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the displayName * Display Name of the Role definition. * * @return string|null The displayName */ public function getDisplayName() { if (array_key_exists("displayName", $this->_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * Display Name of the Role definition. * * @param string $val The displayName * * @return RoleDefinition */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the isBuiltIn * Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. * * @return bool|null The isBuiltIn */ public function getIsBuiltIn() { if (array_key_exists("isBuiltIn", $this->_propDict)) { return $this->_propDict["isBuiltIn"]; } else { return null; } } /** * Sets the isBuiltIn * Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. * * @param bool $val The isBuiltIn * * @return RoleDefinition */ public function setIsBuiltIn($val) { $this->_propDict["isBuiltIn"] = boolval($val); return $this; } /** * Gets the rolePermissions * List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. * * @return array|null The rolePermissions */ public function getRolePermissions() { if (array_key_exists("rolePermissions", $this->_propDict)) { return $this->_propDict["rolePermissions"]; } else { return null; } } /** * Sets the rolePermissions * List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. * * @param RolePermission[] $val The rolePermissions * * @return RoleDefinition */ public function setRolePermissions($val) { $this->_propDict["rolePermissions"] = $val; return $this; } /** * Gets the roleAssignments * List of Role assignments for this role definition. * * @return array|null The roleAssignments */ public function getRoleAssignments() { if (array_key_exists("roleAssignments", $this->_propDict)) { return $this->_propDict["roleAssignments"]; } else { return null; } } /** * Sets the roleAssignments * List of Role assignments for this role definition. * * @param RoleAssignment[] $val The roleAssignments * * @return RoleDefinition */ public function setRoleAssignments($val) { $this->_propDict["roleAssignments"] = $val; return $this; } }