123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <?php
-
- /**
- * AUTO GENERATED BY LUTICATE GENERATOR
- * ANY CHANGES WILL BE OVERWRITTEN
- */
-
- namespace App\Http\DBO;
-
- use Luticate\Utils\LuDbo;
-
- class DnsCryptokeysDbo extends LuDbo {
-
- public function jsonSerialize()
- {
- return array(
- "Id" => $this->_id,
- "DomainId" => $this->_domainId,
- "Flags" => $this->_flags,
- "Active" => $this->_active,
- "Content" => $this->_content
- );
- }
-
- public static function jsonDeserialize($json)
- {
- $dbo = new DnsCryptokeysDbo();
- if (isset($json["Id"])) {
- $dbo->setId($json["Id"]);
- }
- if (isset($json["DomainId"])) {
- $dbo->setDomainId($json["DomainId"]);
- }
- if (isset($json["Flags"])) {
- $dbo->setFlags($json["Flags"]);
- }
- if (isset($json["Active"])) {
- $dbo->setActive($json["Active"]);
- }
- if (isset($json["Content"])) {
- $dbo->setContent($json["Content"]);
- }
- return $dbo;
- }
-
- public static function generateSample()
- {
- $dbo = new DnsCryptokeysDbo();
- $dbo->setId(42);
- $dbo->setDomainId(42);
- $dbo->setFlags(42);
- $dbo->setActive(true);
- $dbo->setContent("sample string");
- return $dbo;
- }
-
- /**
- * @var integer
- */
- protected $_id;
- public function getId()
- {
- return $this->_id;
- }
- public function setId($value)
- {
- $this->_id = $value;
- }
-
- /**
- * @var integer
- */
- protected $_domainId;
- public function getDomainId()
- {
- return $this->_domainId;
- }
- public function setDomainId($value)
- {
- $this->_domainId = $value;
- }
-
- /**
- * @var integer
- */
- protected $_flags;
- public function getFlags()
- {
- return $this->_flags;
- }
- public function setFlags($value)
- {
- $this->_flags = $value;
- }
-
- /**
- * @var boolean
- */
- protected $_active;
- public function getActive()
- {
- return $this->_active;
- }
- public function setActive($value)
- {
- $this->_active = $value;
- }
-
- /**
- * @var text
- */
- protected $_content;
- public function getContent()
- {
- return $this->_content;
- }
- public function setContent($value)
- {
- $this->_content = $value;
- }
- }
|