<?php

class CF_CustomNotificationsScripts
{
    public $id;
    public $name;
    public $description;
    public $scriptFileName;
    public $type;

    public function __construct($scripts = [])
    {
        $this->id = element('id', $scripts, null);
        $this->name = element('name', $scripts, null);
        $this->description = element('description', $scripts, null);
        $this->scriptFileName = element('script_name', $scripts, null);
        $this->type = element('type', $scripts, null);
    }

    /**
     * @param mixed $description
     */
    public function setDescription($description)
    {
        $this->description = $description;
    }

    /**
     * @return mixed
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * @param mixed $id
     */
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * @return mixed
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @param mixed $name
     */
    public function setName($name)
    {
        $this->name = $name;
    }

    /**
     * @return mixed
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @param mixed $scriptName
     */
    public function setScriptFileName($scriptName)
    {
        $this->scriptFileName = $scriptName;
    }

    /**
     * @return mixed
     */
    public function getScriptFileName()
    {
        return $this->scriptFileName;
    }

    /**
     * @param mixed $type
     */
    public function setType($type)
    {
        $this->type = $type;
    }

    /**
     * @return mixed
     */
    public function getType()
    {
        return $this->type;
    }
}
