123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <?php
-
- /**
- * AUTO GENERATED BY LUTICATE GENERATOR
- * ANY CHANGES WILL BE OVERWRITTEN
- */
-
- namespace App\Http\DBO;
-
- use Luticate\Utils\LuDbo;
-
- class DnsDomainmetadataDbo extends LuDbo {
-
- public function jsonSerialize()
- {
- return array(
- "Id" => $this->_id,
- "DomainId" => $this->_domainId,
- "Kind" => $this->_kind,
- "Content" => $this->_content
- );
- }
-
- public static function jsonDeserialize($json)
- {
- $dbo = new DnsDomainmetadataDbo();
- if (isset($json["Id"])) {
- $dbo->setId($json["Id"]);
- }
- if (isset($json["DomainId"])) {
- $dbo->setDomainId($json["DomainId"]);
- }
- if (isset($json["Kind"])) {
- $dbo->setKind($json["Kind"]);
- }
- if (isset($json["Content"])) {
- $dbo->setContent($json["Content"]);
- }
- return $dbo;
- }
-
- public static function generateSample()
- {
- $dbo = new DnsDomainmetadataDbo();
- $dbo->setId(42);
- $dbo->setDomainId(42);
- $dbo->setKind("sample string");
- $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 string
- */
- protected $_kind;
- public function getKind()
- {
- return $this->_kind;
- }
- public function setKind($value)
- {
- $this->_kind = $value;
- }
-
- /**
- * @var text
- */
- protected $_content;
- public function getContent()
- {
- return $this->_content;
- }
- public function setContent($value)
- {
- $this->_content = $value;
- }
- }
|