<?php
|
namespace JVBase\integrations;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
|
class APIEndpoint
|
{
|
protected string|false $create = false;
|
protected string|false $update = false;
|
protected string|false $delete = false;
|
protected string|false $batchCreate = false;
|
protected string|false $batchUpdate = false;
|
protected string|false $batchDelete = false;
|
protected string|false $batchImport = false;
|
protected string|false $search = false;
|
protected string|false $image = false;
|
|
public function __construct() {
|
|
}
|
public function setCreate(string $create):void
|
{
|
$this->create = $create;
|
}
|
public function getCreate():string|false
|
{
|
return $this->create;
|
}
|
public function setUpdate(string $update):void
|
{
|
$this->update = $update;
|
}
|
public function getUpdate():string|false
|
{
|
return $this->update;
|
}
|
public function setDelete(string $delete):void
|
{
|
$this->delete = $delete;
|
}
|
public function getDelete():string|false
|
{
|
return $this->delete;
|
}
|
public function setSearch(string $search):void
|
{
|
$this->search = $search;
|
}
|
public function getSearch():string|false
|
{
|
return $this->search;
|
}
|
public function setImage(string $image):void
|
{
|
$this->image = $image;
|
}
|
public function getImage():string|false
|
{
|
return $this->image;
|
}
|
public function setBatchCreate(string $batchCreate):void
|
{
|
$this->batchCreate = $batchCreate;
|
}
|
public function getBatchCreate():string|false
|
{
|
return $this->batchCreate;
|
}
|
public function setBatchUpdate(string $batchUpdate):void
|
{
|
$this->batchUpdate = $batchUpdate;
|
}
|
public function getBatchUpdate():string|false
|
{
|
return $this->batchUpdate;
|
}
|
public function setBatchDelete(string $batchDelete):void
|
{
|
$this->batchDelete = $batchDelete;
|
}
|
public function getBatchDelete():string|false
|
{
|
return $this->batchDelete;
|
}
|
public function setImport(string $batchImport):void
|
{
|
$this->batchImport = $batchImport;
|
}
|
public function getBatchImport():string|false
|
{
|
return $this->batchImport;
|
}
|
}
|