<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetScannedDocument_V2 StructType
 * @subpackage Structs
 */
class GetScannedDocument_V2 extends ExecutionResult
{
    /**
     * The Documents
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfDocumentResult_V2
     */
    public $Documents;
    /**
     * Constructor method for GetScannedDocument_V2
     * @uses GetScannedDocument_V2::setDocuments()
     * @param \ArrayType\ArrayOfDocumentResult_V2 $documents
     */
    public function __construct(\ArrayType\ArrayOfDocumentResult_V2 $documents = null)
    {
        $this
            ->setDocuments($documents);
    }
    /**
     * Get Documents value
     * @return \ArrayType\ArrayOfDocumentResult_V2|null
     */
    public function getDocuments()
    {
        return $this->Documents;
    }
    /**
     * Set Documents value
     * @param \ArrayType\ArrayOfDocumentResult_V2 $documents
     * @return \StructType\GetScannedDocument_V2
     */
    public function setDocuments(\ArrayType\ArrayOfDocumentResult_V2 $documents = null)
    {
        $this->Documents = $documents;
        return $this;
    }
}
