<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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