public function addSelectedDepartmentIds($value)
    {
        if ($this->SelectedDepartmentIds === null) {
            $this->SelectedDepartmentIds = new \Protobuf\ScalarCollection();
        }

        $this->SelectedDepartmentIds->add($value);
    }