| Total Complexity | 8 |
| Total Lines | 81 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class InlineQuery extends AbstractEntity |
||
| 10 | { |
||
| 11 | const ENTITY_TYPE = 'InlineQuery'; |
||
| 12 | |||
| 13 | protected $id; |
||
| 14 | |||
| 15 | protected $from; |
||
| 16 | |||
| 17 | protected $location; |
||
| 18 | |||
| 19 | protected $query; |
||
| 20 | |||
| 21 | protected $offset; |
||
| 22 | |||
| 23 | protected $builtInEntities = [ |
||
| 24 | 'from' => User::class, |
||
| 25 | 'location' => Location::class |
||
| 26 | ]; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return mixed |
||
| 30 | */ |
||
| 31 | public function getId() |
||
| 32 | { |
||
| 33 | return $this->id; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param mixed $id |
||
| 38 | */ |
||
| 39 | public function setId($id) |
||
| 40 | { |
||
| 41 | $this->id = $id; |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return mixed |
||
| 46 | */ |
||
| 47 | public function getFrom() |
||
| 48 | { |
||
| 49 | return $this->from; |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param mixed $from |
||
| 54 | */ |
||
| 55 | public function setFrom($from) |
||
| 56 | { |
||
| 57 | $this->from = $from; |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return mixed |
||
| 62 | */ |
||
| 63 | public function getQuery() |
||
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @param mixed $query |
||
| 70 | */ |
||
| 71 | public function setQuery($query) |
||
| 72 | { |
||
| 73 | $this->query = $query; |
||
| 74 | } |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @return mixed |
||
| 78 | */ |
||
| 79 | public function getOffset() |
||
| 80 | { |
||
| 81 | return $this->offset; |
||
| 82 | } |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @param mixed $offset |
||
| 86 | */ |
||
| 87 | public function setOffset($offset) |
||
| 90 | } |
||
| 91 | } |
||
| 92 |