34 lines
533 B
PHP
34 lines
533 B
PHP
|
<?php
|
||
|
|
||
|
namespace DigiComp\HetznerDnsApi\Model;
|
||
|
|
||
|
class RecordsBulkPutBody
|
||
|
{
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @var RecordBulk[]|null
|
||
|
*/
|
||
|
protected $records;
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @return RecordBulk[]|null
|
||
|
*/
|
||
|
public function getRecords() : ?array
|
||
|
{
|
||
|
return $this->records;
|
||
|
}
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @param RecordBulk[]|null $records
|
||
|
*
|
||
|
* @return self
|
||
|
*/
|
||
|
public function setRecords(?array $records) : self
|
||
|
{
|
||
|
$this->records = $records;
|
||
|
return $this;
|
||
|
}
|
||
|
}
|