88 lines
1.5 KiB
PHP
88 lines
1.5 KiB
PHP
|
<?php
|
||
|
|
||
|
namespace DigiComp\HetznerDnsApi\Model;
|
||
|
|
||
|
class RecordsBulkPostResponse200
|
||
|
{
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @var RecordResponse[]|null
|
||
|
*/
|
||
|
protected $records;
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @var BaseRecord[]|null
|
||
|
*/
|
||
|
protected $validRecords;
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @var BaseRecord[]|null
|
||
|
*/
|
||
|
protected $invalidRecords;
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @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 getValidRecords() : ?array
|
||
|
{
|
||
|
return $this->validRecords;
|
||
|
}
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @param BaseRecord[]|null $validRecords
|
||
|
*
|
||
|
* @return self
|
||
|
*/
|
||
|
public function setValidRecords(?array $validRecords) : self
|
||
|
{
|
||
|
$this->validRecords = $validRecords;
|
||
|
return $this;
|
||
|
}
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @return BaseRecord[]|null
|
||
|
*/
|
||
|
public function getInvalidRecords() : ?array
|
||
|
{
|
||
|
return $this->invalidRecords;
|
||
|
}
|
||
|
/**
|
||
|
*
|
||
|
*
|
||
|
* @param BaseRecord[]|null $invalidRecords
|
||
|
*
|
||
|
* @return self
|
||
|
*/
|
||
|
public function setInvalidRecords(?array $invalidRecords) : self
|
||
|
{
|
||
|
$this->invalidRecords = $invalidRecords;
|
||
|
return $this;
|
||
|
}
|
||
|
}
|