Spaces:
Sleeping
Sleeping
File size: 618 Bytes
07c3cdd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | <?php
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;
}
}
|