<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ParamGetAttachmentList StructType
 * @subpackage Structs
 */
class ParamGetAttachmentList extends ParamBase
{
    /**
     * The documentAttachmentSearch
     * @var DocumentAttachmentSearch
     */
    public $documentAttachmentSearch;
    /**
     * Constructor method for ParamGetAttachmentList
     * @uses ParamGetAttachmentList::setDocumentAttachmentSearch()
     * @param DocumentAttachmentSearch $documentAttachmentSearch
     */
    public function __construct(DocumentAttachmentSearch $documentAttachmentSearch = null)
    {
        $this
            ->setDocumentAttachmentSearch($documentAttachmentSearch);
    }
    /**
     * Get documentAttachmentSearch value
     * @return DocumentAttachmentSearch|null
     */
    public function getDocumentAttachmentSearch()
    {
        return $this->documentAttachmentSearch;
    }
    /**
     * Set documentAttachmentSearch value
     * @param DocumentAttachmentSearch $documentAttachmentSearch
     * @return ParamGetAttachmentList
     */
    public function setDocumentAttachmentSearch(DocumentAttachmentSearch $documentAttachmentSearch = null)
    {
        $this->documentAttachmentSearch = $documentAttachmentSearch;
        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 ParamGetAttachmentList
     */
    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__;
    }
}
