| 1 | <?php |
||
| 5 | class Attachment extends Resource |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * The id of the attachment. |
||
| 9 | * |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | public $id; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * The url of the attachment. |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | public $url; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Create a new resource instance. |
||
| 23 | * |
||
| 24 | * @param string $url |
||
| 25 | * @param string|null $id |
||
| 26 | */ |
||
| 27 | 1 | public function __construct(string $url, ?string $id) |
|
| 32 | } |
||
| 33 |