12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?php
-
- /**
- * AUTO GENERATED BY LUTICATE GENERATOR
- * ANY CHANGES WILL BE OVERWRITTEN
- */
-
- namespace App\Http\DBO;
-
- use Luticate\Utils\LuDbo;
-
- class DnsSupermastersDbo extends LuDbo {
-
- public function jsonSerialize()
- {
- return array(
- "Ip" => $this->_ip,
- "Nameserver" => $this->_nameserver,
- "Account" => $this->_account
- );
- }
-
- public static function jsonDeserialize($json)
- {
- $dbo = new DnsSupermastersDbo();
- if (isset($json["Ip"])) {
- $dbo->setIp($json["Ip"]);
- }
- if (isset($json["Nameserver"])) {
- $dbo->setNameserver($json["Nameserver"]);
- }
- if (isset($json["Account"])) {
- $dbo->setAccount($json["Account"]);
- }
- return $dbo;
- }
-
- public static function generateSample()
- {
- $dbo = new DnsSupermastersDbo();
- $dbo->setIp("sample string");
- $dbo->setNameserver("sample string");
- $dbo->setAccount("sample string");
- return $dbo;
- }
-
- /**
- * @var inet
- */
- protected $_ip;
- public function getIp()
- {
- return $this->_ip;
- }
- public function setIp($value)
- {
- $this->_ip = $value;
- }
-
- /**
- * @var string
- */
- protected $_nameserver;
- public function getNameserver()
- {
- return $this->_nameserver;
- }
- public function setNameserver($value)
- {
- $this->_nameserver = $value;
- }
-
- /**
- * @var string
- */
- protected $_account;
- public function getAccount()
- {
- return $this->_account;
- }
- public function setAccount($value)
- {
- $this->_account = $value;
- }
- }
|