name = isset($data['name']) ? $data['name'] : null; $this->status = isset($data['status']) ? $data['status'] : null; } /** * Gets name. * * @return string|null */ public function getName() { return $this->name; } /** * Sets name. * * @param string|null $name Updated name of the pet * * @return $this */ public function setName($name = null) { $this->name = $name; return $this; } /** * Gets status. * * @return string|null */ public function getStatus() { return $this->status; } /** * Sets status. * * @param string|null $status Updated status of the pet * * @return $this */ public function setStatus($status = null) { $this->status = $status; return $this; } }