for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the CwdPowerDNS Client
*
* (c) 2018 cwd.at GmbH <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Cwd\PowerDNSClient\Model\Zone;
use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validator\Constraints as Assert;
class Record
{
/**
* @var string
* @Assert\NotBlank(groups={"CREATE", "UPDATE"})
* @Groups({"REPLACE", "CREATE"})
protected $content;
* @var bool
* @Groups({"REPLACE", "CREATE", "DELETE"})
protected $disabled = false;
protected $setPtr = false;
* @return string
public function getContent(): string
return $this->content;
}
* @param string $content
* @return Record
public function setContent(string $content): Record
$this->content = $content;
return $this;
* @return bool
public function isDisabled(): bool
return $this->disabled;
* @param bool $disabled
public function setDisabled(bool $disabled): Record
$this->disabled = $disabled;
* @return mixed
public function getSetPtr()
return $this->setPtr;
* @param mixed $setPtr
public function setSetPtr($setPtr): Record
$this->setPtr = $setPtr;