| 1 | <?php |
||
| 19 | class StarsListPayload extends AbstractPayload |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $user; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var int |
||
| 28 | */ |
||
| 29 | private $count; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var int |
||
| 33 | */ |
||
| 34 | private $page; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Show stars by this user. Defaults to the authenticated user. |
||
| 38 | * |
||
| 39 | * @param string $userId |
||
| 40 | */ |
||
| 41 | 1 | public function setUserId($userId) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * Show stars by this user. Defaults to the authenticated user. |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | 1 | public function getUserId() |
|
| 55 | |||
| 56 | /** |
||
| 57 | * @param int $count Number of items to return per page. |
||
| 58 | */ |
||
| 59 | 1 | public function setCount($count) |
|
| 63 | |||
| 64 | /** |
||
| 65 | * @return int|null Number of items to return per page. |
||
| 66 | */ |
||
| 67 | 1 | public function getCount() |
|
| 71 | |||
| 72 | /** |
||
| 73 | * @param int $page Page number of results to return. |
||
| 74 | */ |
||
| 75 | 1 | public function setPage($page) |
|
| 79 | |||
| 80 | /** |
||
| 81 | * @return int|null Page number of results to return. |
||
| 82 | */ |
||
| 83 | 1 | public function getPage() |
|
| 87 | |||
| 88 | /** |
||
| 89 | * @inheritdoc |
||
| 90 | */ |
||
| 91 | 1 | public function getMethod() |
|
| 95 | } |
||
| 96 |