|
- <?php
-
- namespace App\Kintone;
-
- class File
- {
-
- public string $contentType;
- public string $fileKey;
- public string $name;
- public int $size;
-
- public function __construct($param = null)
- {
- if ($param !== null) {
- $this->contentType = data_get($param, "contentType", "");
- $this->fileKey = data_get($param, "fileKey", "");
- $this->name = data_get($param, "name", "");
- $this->size = (int)data_get($param, "size", 0);
- }
- }
- }
|