<?php

namespace ebay\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ReviseSellingManagerInventoryFolderResponseType StructType
 * Meta informations extracted from the WSDL
 * - documentation: Returns the status of a revise folder operation.
 * @subpackage Structs
 * @date 2017-04-07 16
 */
class ReviseSellingManagerInventoryFolderResponseType extends AbstractResponseType
{
    /**
     * The Folder
     * Meta informations extracted from the WSDL
     * - documentation: Contains information about the folder that has been renamed.
     * - minOccurs: 0
     * @var \ebay\StructType\SellingManagerFolderDetailsType
     */
    public $Folder;
    /**
     * Constructor method for ReviseSellingManagerInventoryFolderResponseType
     * @uses ReviseSellingManagerInventoryFolderResponseType::setFolder()
     * @param \ebay\StructType\SellingManagerFolderDetailsType $folder
     */
    public function __construct(\ebay\StructType\SellingManagerFolderDetailsType $folder = null)
    {
        $this
            ->setFolder($folder);
    }
    /**
     * Get Folder value
     * @return \ebay\StructType\SellingManagerFolderDetailsType|null
     */
    public function getFolder()
    {
        return $this->Folder;
    }
    /**
     * Set Folder value
     * @param \ebay\StructType\SellingManagerFolderDetailsType $folder
     * @return \ebay\StructType\ReviseSellingManagerInventoryFolderResponseType
     */
    public function setFolder(\ebay\StructType\SellingManagerFolderDetailsType $folder = null)
    {
        $this->Folder = $folder;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \ebay\StructType\ReviseSellingManagerInventoryFolderResponseType
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
