QueryString = $queryString; } public function __toString() { return $this->QueryString; } public function RunQuery(DeegraphServer $server): LinkQueryResponse { $response = $server->RunRawRequest( endpoint: "/api/v1/@query", method: "POST", body: $this->QueryString ); $temp = json_decode($response, true); return new LinkQueryResponse($temp); } }