*/ public function toArray(Request $request): array { return [ 'id' => $this->id, 'name' => $this->name, 'asset_id' => $this->asset_id, 'project_id' => $this->project_id, 'type'=>$this->type, 'acl' => $this->acl, 'whitelist' => make_array_list($this->whitelist??''), 'created_at' => (string)$this->created_at, 'updated_at' => (string)$this->updated_at, ]; } }