示例#1
0
 /**
  * Convenient constructor
  *
  * @param   string|array        $name         optional The one or more name of the router
  * @param   string|array        $id           optional The one or more ID of the router
  * @param   string|array        $status       optional The one or more status of the router
  * @param   string              $marker       optional A marker.
  * @param   int                 $limit        optional Limit.
  */
 public function __construct($name = null, $id = null, $status = null, $marker = null, $limit = null)
 {
     parent::__construct($marker, $limit);
     $this->setName($name);
     $this->setId($id);
     $this->setStatus($status);
 }
示例#2
0
 /**
  * Convenient constructor
  *
  * @param   string|array        $name         optional The one or more name of the port
  * @param   string|array        $id           optional The one or more ID of the port
  * @param   string|array        $networkid    optional The one or more ID of the network
  * @param   string              $marker       optional A marker.
  * @param   int                 $limit        optional Limit.
  */
 public function __construct($name = null, $id = null, $networkId = null, $marker = null, $limit = null)
 {
     parent::__construct($marker, $limit);
     $this->setName($name);
     $this->setId($id);
     $this->setNetworkId($networkId);
 }
示例#3
0
 /**
  * Convenient constructor
  *
  * @param   string|array            $name         optional The one or more name of the network
  * @param   NetworkStatusType|array $status       optional The one or more status of the Network
  * @param   bool                    $adminStateUp optional The admin state
  * @param   bool                    $shared       optional The shared flag
  * @param   string|array            $id           optional The one or more ID of the network
  * @param   string                  $marker       optional A marker.
  * @param   int                     $limit        optional Limit.
  */
 public function __construct($name = null, $status = null, $adminStateUp = null, $shared = null, $id = null, $marker = null, $limit = null)
 {
     parent::__construct($marker, $limit);
     $this->setName($name);
     $this->setStatus($status);
     $this->setId($id);
     $this->setShared($shared);
     $this->setAdminStateUp($adminStateUp);
 }
 /**
  * Convenient constructor
  *
  * @param   string|array        $id           optional The one or more ID
  * @param   string              $marker       optional A marker.
  * @param   int                 $limit        optional Limit.
  */
 public function __construct($id = null, $marker = null, $limit = null)
 {
     parent::__construct($marker, $limit);
     $this->setId($id);
 }
示例#5
0
 /**
  * Convenient constructor
  *
  * @param   string      $name         optional An image name.
  * @param   string      $serverId     optional An server reference.
  * @param   ImageStatus $status       optional An Image status.
  * @param   ImageType   $type         optional An image type.
  * @param   \DateTime   $changesSince optional A changes-since time.
  * @param   string      $marker       optional A marker.
  * @param   int         $limit        optional Limit.
  */
 public function __construct($name = null, $serverId = null, ImageStatus $status = null, ImageType $type, \DateTime $changesSince, $marker = null, $limit = null)
 {
     parent::__construct($marker, $limit);
 }
示例#6
0
 /**
  * Convenient constructor
  *
  * @param   string       $name         optional A Server name.
  * @param   string       $flavorId     optional A Flavor ID.
  * @param   string       $imageId      optional An Image ID.
  * @param   ServerStatus $status       optional A server status.
  * @param   DateTime     $changesSince optional A changes-since date.
  * @param   string       $marker       optional Marker.
  * @param   number       $limit        optional Limit.
  */
 public function __construct($name = null, $flavorId = null, $imageId = null, ServerStatus $status = null, DateTime $changesSince = null, $marker = null, $limit = null)
 {
     parent::__construct($marker, $limit);
     $this->setName($name)->setFlavorId($flavorId)->setImage($imageId)->setStatus($status)->setChangesSince($changesSince);
 }