Spaces:
Sleeping
Sleeping
processmaker-community / processmaker-files /workflow /engine /classes /entities /EntitySolrUpdateDocument.php
Download processmaker-files/workflow/engine/classes/entities/EntitySolrUpdateDocument.php from kenken999/processmaker-community: direct link, hf CLI and curl.
- Browser
- Download file 618 Bytes
-
https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/classes/entities/EntitySolrUpdateDocument.php
- Command line
-
hf download hf://spaces/kenken999/processmaker-community/processmaker-files/workflow/engine/classes/entities/EntitySolrUpdateDocument.php
-
curl -L -o EntitySolrUpdateDocument.php https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/classes/entities/EntitySolrUpdateDocument.php
618 Bytes
| class EntitySolrUpdateDocument extends EntityBase | |
| { | |
| public $workspace = ''; | |
| public $document = ''; | |
| private function __construct() | |
| { | |
| } | |
| public static function createEmpty() | |
| { | |
| $obj = new EntitySolrUpdateDocument(); | |
| return $obj; | |
| } | |
| public static function createForRequest($data) | |
| { | |
| $obj = new EntitySolrUpdateDocument(); | |
| $obj->initializeObject($data); | |
| $requiredFields = array( | |
| "workspace", | |
| "document" | |
| ); | |
| $obj->validateRequiredFields($requiredFields); | |
| return $obj; | |
| } | |
| } | |