public function toUrlQuery() { if ($this->debug) { return $this->urlPair("values", $this->toJsonStr($this->values)) . "&debug=true"; } else { return $this->urlPair("values", $this->toJsonStr($this->values)); } }