<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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