Model/FolderResponse.php
public function addFolderResponse($item)
    {
        if (!($item instanceof self)) {
            if (is_array($item)) {
                try {
                    $item = new self($item);
                } catch (\Exception $e) {
                    trigger_error('Could not auto-instantiate FolderResponse. ' . $e->getMessage(), E_USER_WARNING);
                }
            } else {
                trigger_error('Array parameter item is not of expected type "FolderResponse"!', E_USER_WARNING);
            }
        }
        $this->subFolders[] = $item;

        return $this;
    }
public function addFolderResponse($item)
    {
        if (!($item instanceof self)) {
            if (is_array($item)) {
                try {
                    $item = new self($item);
                } catch (\Exception $e) {
                    trigger_error('Could not auto-instantiate FolderResponse. ' . $e->getMessage(), E_USER_WARNING);
                }
            } else {
                trigger_error('Array parameter item is not of expected type "FolderResponse"!', E_USER_WARNING);
            }
        }
        $this->subFolders[] = $item;

        return $this;
    }
Adds an object of "SubFolders" of the FolderResponse.

@param FolderResponse|array $item

@return FolderResponse