public function getId() { return $this->id; }
/** * Get a flavor instance represented by the supplied NodeSize. * * @param NodeSize $nodeSize * * @return \OpenCloud\Compute\Resource\Flavor */ protected function toFlavor(NodeSize $nodeSize) { return $this->service->flavor($nodeSize->getId()); }