for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yandex\Metrica\Management\Models;
use Yandex\Metrica\Management\Models\Conditions;
use Yandex\Common\Model;
class Goal extends Model
{
protected $id = null;
protected $name = null;
protected $type = null;
protected $class = null;
protected $flag = null;
protected $conditions = null;
protected $mappingClasses = [
'conditions' => 'Yandex\Metrica\Management\Models\Conditions'
];
protected $propNameMap = [];
/**
* Retrieve the id property
*
* @return int|null
*/
public function getId()
return $this->id;
}
* Set the id property
* @param int $id
* @return $this
public function setId($id)
$this->id = $id;
return $this;
* Retrieve the name property
* @return string|null
public function getName()
return $this->name;
* Set the name property
* @param string $name
public function setName($name)
$this->name = $name;
* Retrieve the type property
public function getType()
return $this->type;
* Set the type property
* @param string $type
public function setType($type)
$this->type = $type;
* Retrieve the class property
public function getClass()
return $this->class;
* Set the class property
* @param int $class
public function setClass($class)
$this->class = $class;
* Retrieve the flag property
public function getFlag()
return $this->flag;
* Set the flag property
* @param int $flag
public function setFlag($flag)
$this->flag = $flag;
* Retrieve the conditions property
* @return Conditions|null
public function getConditions()
return $this->conditions;
* Set the conditions property
* @param Conditions $conditions
public function setConditions($conditions)
$this->conditions = $conditions;