public function setFilterParameters($filterParameters)
    {
        if (!is_string($filterParameters)) {
            $this->filterParameters = json_encode($filterParameters);
        } else {
            $this->filterParameters = $filterParameters;
        }

        return $this;
    }