34 lines
553 B
PHP
34 lines
553 B
PHP
|
<?php
|
||
|
|
||
|
namespace DigiComp\HetznerDnsApi\Model;
|
||
|
|
||
|
class RecordsPostResponse200
|
||
|
{
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @var RecordResponse|null
|
||
|
*/
|
||
|
protected $record;
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @return RecordResponse|null
|
||
|
*/
|
||
|
public function getRecord() : ?RecordResponse
|
||
|
{
|
||
|
return $this->record;
|
||
|
}
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @param RecordResponse|null $record
|
||
|
*
|
||
|
* @return self
|
||
|
*/
|
||
|
public function setRecord(?RecordResponse $record) : self
|
||
|
{
|
||
|
$this->record = $record;
|
||
|
return $this;
|
||
|
}
|
||
|
}
|