<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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