<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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