private function getWebpropertiesHtml(&$webproperties) {
    $html = '<h3>Webproperties Collection</h3>' .
            $this->getCollectionInfoHtml($webproperties);

    $items = $webproperties->getItems();

    if (count($items) == 0) {
      $html .= '<p>No Web Properties Found</p>';

    } else {
      foreach ($items as &$webproperty) {
        $html .= <<<HTML
<hr>
<pre>
Kind                    = {$webproperty->getKind()}
Account ID              = {$webproperty->getAccountId()}
Webproperty ID          = {$webproperty->getId()}
Internal Webproperty ID = {$webproperty->getInternalWebPropertyId()}
Website URL             = {$webproperty->getWebsiteUrl()}
Created                 = {$webproperty->getCreated()}
Updated                 = {$webproperty->getUpdated()}
Self Link               = {$webproperty->getSelfLink()}
Parent Link
Parent link href        = {$webproperty->getParentLink()->getHref()}
Parent link type        = {$webproperty->getParentLink()->getType()}
Child Link
Child link href         = {$webproperty->getChildLink()->getHref()}
Child link type         = {$webproperty->getChildLink()->getType()}
</pre>
HTML;
      }
    }
    return $html;
  }