for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Wonnova\SDK\Model;
use JMS\Serializer\Annotation as JMS;
/**
* Class QuestStep
* @author Wonnova
* @link http://www.wonnova.com
*/
class QuestStep extends AbstractModel
{
const TYPE_BADGE = 'badge';
const TYPE_QUEST = 'quest';
const TYPE_ACTION = 'action';
* @var string
* @JMS\Type("string")
private $type;
private $code;
private $name;
private $description;
* @var boolean
* @JMS\Type("boolean")
private $completed;
* @return string
public function getType()
return $this->type;
}
* @param string $type
* @return $this
public function setType($type)
$this->type = $type;
return $this;
public function getCode()
return $this->code;
* @param string $code
public function setCode($code)
$this->code = $code;
public function getName()
return $this->name;
* @param string $name
public function setName($name)
$this->name = $name;
public function getDescription()
return $this->description;
* @param string $description
public function setDescription($description)
$this->description = $description;
* @return boolean
public function isCompleted()
return $this->completed;
* @param mixed $completed
public function setCompleted($completed)
$this->completed = $completed;