public function importWebPart($webPartXml)
    {
        $payload = new ClientValueObject();
        $payload->setProperty("webPartXml",$webPartXml);
        $webPartDefinition = new WebPartDefinition($this->getContext());
        $qry = new InvokePostMethodQuery(
            $this->getResourcePath(),
            "ImportWebPart",
            null,
            $payload
        );
        $this->getContext()->addQuery($qry,$webPartDefinition);
        return $webPartDefinition;
    }