61 lines
1 KiB
PHP
61 lines
1 KiB
PHP
|
<?php
|
||
|
|
||
|
namespace DigiComp\HetznerDnsApi\Model;
|
||
|
|
||
|
class RecordsBulkPutResponse200
|
||
|
{
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @var RecordResponse[]|null
|
||
|
*/
|
||
|
protected $records;
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @var BaseRecord[]|null
|
||
|
*/
|
||
|
protected $failedRecords;
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @return RecordResponse[]|null
|
||
|
*/
|
||
|
public function getRecords() : ?array
|
||
|
{
|
||
|
return $this->records;
|
||
|
}
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @param RecordResponse[]|null $records
|
||
|
*
|
||
|
* @return self
|
||
|
*/
|
||
|
public function setRecords(?array $records) : self
|
||
|
{
|
||
|
$this->records = $records;
|
||
|
return $this;
|
||
|
}
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @return BaseRecord[]|null
|
||
|
*/
|
||
|
public function getFailedRecords() : ?array
|
||
|
{
|
||
|
return $this->failedRecords;
|
||
|
}
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @param BaseRecord[]|null $failedRecords
|
||
|
*
|
||
|
* @return self
|
||
|
*/
|
||
|
public function setFailedRecords(?array $failedRecords) : self
|
||
|
{
|
||
|
$this->failedRecords = $failedRecords;
|
||
|
return $this;
|
||
|
}
|
||
|
}
|