<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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