src/Model/Qs.php line 181

Open in your IDE?
  1. <?php
  2. namespace App\Model;
  3. class Qs implements \JsonSerializable
  4. {
  5.     private $id;
  6.     private $address;
  7.     private $scanners;
  8.     private $subject;
  9.     private $quarantine;
  10.     private $delta;
  11.     private $del;
  12.     private $reject;
  13.     private $forward;
  14.     private $forward_verbose;
  15.     private $hdr_report;
  16.     private $spamdir;
  17.     public function __construct()
  18.     {
  19.         $this->id 0;
  20.         $this->address '';
  21.         $this->scanners '';
  22.         $this->subject '';
  23.         $this->quarantine 0.0;
  24.         $this->delta 0.0;
  25.         $this->del 0.0;
  26.         $this->reject 0;
  27.         $this->forward '';
  28.         $this->forward_verbose 0;
  29.         $this->hdr_report 0;
  30.         $this->spamdir '';
  31.         
  32.     }
  33.     
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function setId(int $id): self
  39.     {
  40.         $this->id $id;
  41.         return $this;
  42.     }
  43.     public function getAddress(): ?string
  44.     {
  45.         return $this->address;
  46.     }
  47.     public function setAddress(string $address): self
  48.     {
  49.         $this->address $address;
  50.         return $this;
  51.     }
  52.     public function getScanners(): ?string
  53.     {
  54.         return $this->scanners;
  55.     }
  56.     public function setScanners(string $scanners): self
  57.     {
  58.         $this->scanners $scanners;
  59.         return $this;
  60.     }
  61.     public function getSubject(): ?string
  62.     {
  63.         return $this->subject;
  64.     }
  65.     public function setSubject(string $subject): self
  66.     {
  67.         $this->subject $subject;
  68.         return $this;
  69.     }
  70.     public function getQuarantine(): ?float
  71.     {
  72.         return $this->quarantine;
  73.     }
  74.     public function setQuarantine(float $quarantine): self
  75.     {
  76.         $this->quarantine $quarantine;
  77.         return $this;
  78.     }
  79.     public function getDelta(): ?float
  80.     {
  81.         return $this->delta;
  82.     }
  83.     public function setDelta(float $delta): self
  84.     {
  85.         $this->delta $delta;
  86.         return $this;
  87.     }
  88.     public function getDel(): ?float
  89.     {
  90.         return $this->del;
  91.     }
  92.     public function setDel(float $del): self
  93.     {
  94.         $this->del $del;
  95.         return $this;
  96.     }
  97.     public function getReject(): ?int
  98.     {
  99.         return $this->reject;
  100.     }
  101.     public function setReject(int $reject): self
  102.     {
  103.         $this->reject $reject;
  104.         return $this;
  105.     }
  106.     public function getForward(): ?string
  107.     {
  108.         return $this->forward;
  109.     }
  110.     public function setForward(string $forward): self
  111.     {
  112.         $this->forward $forward;
  113.         return $this;
  114.     }
  115.     public function getForwardVerbose(): ?int
  116.     {
  117.         return $this->forward_verbose;
  118.     }
  119.     public function setForwardVerbose(int $forward_verbose): self
  120.     {
  121.         $this->forward_verbose $forward_verbose;
  122.         return $this;
  123.     }
  124.     public function getHdrReport(): ?int
  125.     {
  126.         return $this->hdr_report;
  127.     }
  128.     public function setHdrReport(int $hdr_report): self
  129.     {
  130.         $this->hdr_report $hdr_report;
  131.         return $this;
  132.     }
  133.     public function getSpamdir(): ?string
  134.     {
  135.         return $this->spamdir;
  136.     }
  137.     public function setSpamdir(string $spamdir): self
  138.     {
  139.         $this->spamdir $spamdir;
  140.         return $this;
  141.     }
  142.     
  143.     public function jsonSerialize()
  144.     {
  145.         $vars get_object_vars($this);
  146.         return $vars;
  147.     }
  148.     
  149. }