public function getList($task, Parameters $parameters = null)
    {
        $resource = str_replace('{id}', $task, static::VARIABLE_LIST);
        $options = [
            'headers' => [
                'Accept' => 'application/json'
            ],
            'query' => (array)  $parameters->toObject(true)
        ];
        $objects = $this->execute('GET', $resource, $options);
        $list = [];

        foreach ($objects as $name => $object) {
            $object->name = $name;
            $model = static::toModel($object);
            $list[$name] = $model;
        }

        return $list;
    }