<?php
namespace infobip\api\model;

/**
 * This is a generated class and is not intended for modification!
 * TODO: Point to Github contribution instructions
 */
class Error implements \JsonSerializable
{
    private $groupName;
    private $permanent;
    private $groupId;
    private $name;
    private $description;
    private $id;


    public function setGroupName($groupName)
    {
        $this->groupName = $groupName;
    }
    public function getGroupName()
    {
        return $this->groupName;
    }

    public function setPermanent($permanent)
    {
        $this->permanent = $permanent;
    }
    public function isPermanent()
    {
        return $this->permanent;
    }

    public function setGroupId($groupId)
    {
        $this->groupId = $groupId;
    }
    public function getGroupId()
    {
        return $this->groupId;
    }

    public function setName($name)
    {
        $this->name = $name;
    }
    public function getName()
    {
        return $this->name;
    }

    public function setDescription($description)
    {
        $this->description = $description;
    }
    public function getDescription()
    {
        return $this->description;
    }

    public function setId($id)
    {
        $this->id = $id;
    }
    public function getId()
    {
        return $this->id;
    }


  /**
   * (PHP 5 &gt;= 5.4.0)
   * Specify data which should be serialized to JSON
   * @link http://php.net/manual/en/jsonserializable.jsonserialize.php
   * @return mixed data which can be serialized by json_encode,
   * which is a value of any type other than a resource.
   */
  function jsonSerialize()
  {
      return get_object_vars($this);
  }
}

?>