/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }