Phue\Schedule::setAutoDelete PHP Method

setAutoDelete() public method

Set auto delete
public setAutoDelete ( boolean $flag ) : self
$flag boolean True to auto delete, false if not
return self This object
    public function setAutoDelete($flag)
    {
        $x = new SetScheduleAttributes($this);
        $y = $x->autodelete((bool) $flag);
        $this->client->sendCommand($y);
        $this->attributes->autodelete = (bool) $flag;
        return $this;
    }