code: public function getModels($domain)
      {
          $domain = (string)$domain;
          if (!$domain)
              throw new BadMethodCallException('Parameter $domain is missing.');
          try {
              $r = $this->get('vps/' . $domain . '/models')->send();
          } catch (\Exception $e) {
              throw new VpsException($e->getMessage(), $e->getCode(), $e);
          }
          return $r->getBody(true);
      }
docs: Return all models for the range of the virtual server
  
  @param string $domain
  @return mixed
  @throws Exception\VpsException
  @throws BadMethodCallException
  @throws Exception\VpsNotFoundException