mirror of
https://github.com/netzbegruenung/api-models-php.git
synced 2024-04-26 15:54:53 +02:00
48 lines
704 B
PHP
48 lines
704 B
PHP
<?php
|
|
|
|
namespace Netzbegruenung\Api\Model;
|
|
|
|
class ExternalRef
|
|
{
|
|
/**
|
|
* @var string|null
|
|
*/
|
|
protected $type;
|
|
|
|
/**
|
|
* @var string|null
|
|
*/
|
|
protected $key;
|
|
|
|
/**
|
|
* @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
|
|
*/
|
|
public function getKey(): ?string
|
|
{
|
|
return $this->key;
|
|
}
|
|
|
|
/**
|
|
* @param string|null $key
|
|
*/
|
|
public function setKey(?string $key): void
|
|
{
|
|
$this->key = $key;
|
|
}
|
|
} |