You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?php
  2. /**
  3. * AUTO GENERATED BY LUTICATE GENERATOR
  4. * ANY CHANGES WILL BE OVERWRITTEN
  5. */
  6. namespace App\Http\DBO;
  7. use Luticate\Utils\LuDbo;
  8. class DnsDomainmetadataDbo extends LuDbo {
  9. public function jsonSerialize()
  10. {
  11. return array(
  12. "Id" => $this->_id,
  13. "DomainId" => $this->_domainId,
  14. "Kind" => $this->_kind,
  15. "Content" => $this->_content
  16. );
  17. }
  18. public static function jsonDeserialize($json)
  19. {
  20. $dbo = new DnsDomainmetadataDbo();
  21. if (isset($json["Id"])) {
  22. $dbo->setId($json["Id"]);
  23. }
  24. if (isset($json["DomainId"])) {
  25. $dbo->setDomainId($json["DomainId"]);
  26. }
  27. if (isset($json["Kind"])) {
  28. $dbo->setKind($json["Kind"]);
  29. }
  30. if (isset($json["Content"])) {
  31. $dbo->setContent($json["Content"]);
  32. }
  33. return $dbo;
  34. }
  35. public static function generateSample()
  36. {
  37. $dbo = new DnsDomainmetadataDbo();
  38. $dbo->setId(42);
  39. $dbo->setDomainId(42);
  40. $dbo->setKind("sample string");
  41. $dbo->setContent("sample string");
  42. return $dbo;
  43. }
  44. /**
  45. * @var integer
  46. */
  47. protected $_id;
  48. public function getId()
  49. {
  50. return $this->_id;
  51. }
  52. public function setId($value)
  53. {
  54. $this->_id = $value;
  55. }
  56. /**
  57. * @var integer
  58. */
  59. protected $_domainId;
  60. public function getDomainId()
  61. {
  62. return $this->_domainId;
  63. }
  64. public function setDomainId($value)
  65. {
  66. $this->_domainId = $value;
  67. }
  68. /**
  69. * @var string
  70. */
  71. protected $_kind;
  72. public function getKind()
  73. {
  74. return $this->_kind;
  75. }
  76. public function setKind($value)
  77. {
  78. $this->_kind = $value;
  79. }
  80. /**
  81. * @var text
  82. */
  83. protected $_content;
  84. public function getContent()
  85. {
  86. return $this->_content;
  87. }
  88. public function setContent($value)
  89. {
  90. $this->_content = $value;
  91. }
  92. }