| 1 | <?php |
||
| 8 | class Goal extends Model |
||
| 9 | { |
||
| 10 | |||
| 11 | protected $id = null; |
||
| 12 | |||
| 13 | protected $name = null; |
||
| 14 | |||
| 15 | protected $type = null; |
||
| 16 | |||
| 17 | protected $class = null; |
||
| 18 | |||
| 19 | protected $flag = null; |
||
| 20 | |||
| 21 | protected $conditions = null; |
||
| 22 | |||
| 23 | protected $mappingClasses = [ |
||
| 24 | 'conditions' => 'Yandex\Metrica\Management\Models\Conditions' |
||
| 25 | ]; |
||
| 26 | |||
| 27 | protected $propNameMap = []; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Retrieve the id property |
||
| 31 | * |
||
| 32 | * @return int|null |
||
| 33 | */ |
||
| 34 | 5 | public function getId() |
|
| 38 | |||
| 39 | /** |
||
| 40 | * Set the id property |
||
| 41 | * |
||
| 42 | * @param int $id |
||
| 43 | * @return $this |
||
| 44 | */ |
||
| 45 | 1 | public function setId($id) |
|
| 46 | { |
||
| 47 | 1 | $this->id = $id; |
|
| 48 | 1 | return $this; |
|
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Retrieve the name property |
||
| 53 | * |
||
| 54 | * @return string|null |
||
| 55 | */ |
||
| 56 | 5 | public function getName() |
|
| 60 | |||
| 61 | /** |
||
| 62 | * Set the name property |
||
| 63 | * |
||
| 64 | * @param string $name |
||
| 65 | * @return $this |
||
| 66 | */ |
||
| 67 | 1 | public function setName($name) |
|
| 68 | { |
||
| 69 | 1 | $this->name = $name; |
|
| 70 | 1 | return $this; |
|
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Retrieve the type property |
||
| 75 | * |
||
| 76 | * @return string|null |
||
| 77 | */ |
||
| 78 | 5 | public function getType() |
|
| 82 | |||
| 83 | /** |
||
| 84 | * Set the type property |
||
| 85 | * |
||
| 86 | * @param string $type |
||
| 87 | * @return $this |
||
| 88 | */ |
||
| 89 | 1 | public function setType($type) |
|
| 90 | { |
||
| 91 | 1 | $this->type = $type; |
|
| 92 | 1 | return $this; |
|
| 93 | } |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Retrieve the class property |
||
| 97 | * |
||
| 98 | * @return int|null |
||
| 99 | */ |
||
| 100 | 5 | public function getClass() |
|
| 104 | |||
| 105 | /** |
||
| 106 | * Set the class property |
||
| 107 | * |
||
| 108 | * @param int $class |
||
| 109 | * @return $this |
||
| 110 | */ |
||
| 111 | 1 | public function setClass($class) |
|
| 112 | { |
||
| 113 | 1 | $this->class = $class; |
|
| 114 | 1 | return $this; |
|
| 115 | } |
||
| 116 | |||
| 117 | /** |
||
| 118 | * Retrieve the flag property |
||
| 119 | * |
||
| 120 | * @return int|null |
||
| 121 | */ |
||
| 122 | 5 | public function getFlag() |
|
| 126 | |||
| 127 | /** |
||
| 128 | * Set the flag property |
||
| 129 | * |
||
| 130 | * @param int $flag |
||
| 131 | * @return $this |
||
| 132 | */ |
||
| 133 | 1 | public function setFlag($flag) |
|
| 134 | { |
||
| 135 | 1 | $this->flag = $flag; |
|
| 136 | 1 | return $this; |
|
| 137 | } |
||
| 138 | |||
| 139 | /** |
||
| 140 | * Retrieve the conditions property |
||
| 141 | * |
||
| 142 | * @return Conditions|null |
||
| 143 | */ |
||
| 144 | 5 | public function getConditions() |
|
| 148 | |||
| 149 | /** |
||
| 150 | * Set the conditions property |
||
| 151 | * |
||
| 152 | * @param Conditions $conditions |
||
| 153 | * @return $this |
||
| 154 | */ |
||
| 155 | 1 | public function setConditions($conditions) |
|
| 160 | } |
||
| 161 |