<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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