| 1 | <?php |
||
| 5 | class RateLimit |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Created at, ISO 8601 format |
||
| 9 | * |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | public $createdAt; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Daily limit |
||
| 16 | * |
||
| 17 | * @var integer |
||
| 18 | */ |
||
| 19 | public $dailyLimit; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Remaining |
||
| 23 | * |
||
| 24 | * @var integer |
||
| 25 | */ |
||
| 26 | public $remaining; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Reset time |
||
| 30 | * |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | public $resetTime; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Creates a new rate limit instance, setting the createdAt attribute. |
||
| 37 | */ |
||
| 38 | 12 | public function __construct() |
|
| 42 | } |
||
| 43 |