<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for addAttachmentByCSVResponse StructType
 * Meta informations extracted from the WSDL
 * - type: s0:addAttachmentByCSVResponse
 * @subpackage Structs
 */
class AddAttachmentByCSVResponse extends AbstractStructBase
{
    /**
     * The resultAddAttachmentByCSV
     * @var Result
     */
    public $resultAddAttachmentByCSV;
    /**
     * Constructor method for addAttachmentByCSVResponse
     * @uses AddAttachmentByCSVResponse::setResultAddAttachmentByCSV()
     * @param Result $resultAddAttachmentByCSV
     */
    public function __construct(Result $resultAddAttachmentByCSV = null)
    {
        $this
            ->setResultAddAttachmentByCSV($resultAddAttachmentByCSV);
    }
    /**
     * Get resultAddAttachmentByCSV value
     * @return Result|null
     */
    public function getResultAddAttachmentByCSV()
    {
        return $this->resultAddAttachmentByCSV;
    }
    /**
     * Set resultAddAttachmentByCSV value
     * @param Result $resultAddAttachmentByCSV
     * @return AddAttachmentByCSVResponse
     */
    public function setResultAddAttachmentByCSV(Result $resultAddAttachmentByCSV = null)
    {
        $this->resultAddAttachmentByCSV = $resultAddAttachmentByCSV;
        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 AddAttachmentByCSVResponse
     */
    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__;
    }
}
