public function setToken($token) { $this->token = $token; $this->queryParameters["Token"] = $token; }