mirror of
https://github.com/netzbegruenung/api-models-php.git
synced 2024-04-30 17:54:52 +02:00
Add more filters
This commit is contained in:
parent
f316910006
commit
a318e4fa6c
|
@ -12,4 +12,3 @@ Netzbegruenung\Api\Model\Group:
|
|||
type: string
|
||||
externalRefs:
|
||||
type: array<Netzbegruenung\Api\Model\ExternalRef>
|
||||
|
||||
|
|
|
@ -4,3 +4,5 @@ Netzbegruenung\Api\Model\Organization:
|
|||
type: string
|
||||
name:
|
||||
type: string
|
||||
regionalChapterIdPrefix:
|
||||
type: string
|
||||
|
|
|
@ -14,6 +14,27 @@ class Organization
|
|||
*/
|
||||
protected $name;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $regionalChapterIdPrefix;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getRegionalChapterIdPrefix(): string
|
||||
{
|
||||
return $this->regionalChapterIdPrefix;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $regionalChapterIdPrefix
|
||||
*/
|
||||
public function setRegionalChapterIdPrefix(string $regionalChapterIdPrefix): void
|
||||
{
|
||||
$this->regionalChapterIdPrefix = $regionalChapterIdPrefix;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
|
|
@ -24,6 +24,27 @@ class RegionalChapterFilter
|
|||
*/
|
||||
protected $idPrefix;
|
||||
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
protected $type;
|
||||
|
||||
/**
|
||||
* @return string|null
|
||||
*/
|
||||
public function getType(): ?string
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string|null $type
|
||||
*/
|
||||
public function setType(?string $type): void
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string|null
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue