<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for DispatcherInsert_V2 StructType
 * @subpackage Structs
 */
class DispatcherInsert_V2 extends Dispatcher
{
    /**
     * The PersonalCommunicationInsert
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfPersonalCommunicationInsert
     */
    public $PersonalCommunicationInsert;
    /**
     * Constructor method for DispatcherInsert_V2
     * @uses DispatcherInsert_V2::setPersonalCommunicationInsert()
     * @param \ArrayType\ArrayOfPersonalCommunicationInsert $personalCommunicationInsert
     */
    public function __construct(\ArrayType\ArrayOfPersonalCommunicationInsert $personalCommunicationInsert = null)
    {
        $this
            ->setPersonalCommunicationInsert($personalCommunicationInsert);
    }
    /**
     * Get PersonalCommunicationInsert value
     * @return \ArrayType\ArrayOfPersonalCommunicationInsert|null
     */
    public function getPersonalCommunicationInsert()
    {
        return $this->PersonalCommunicationInsert;
    }
    /**
     * Set PersonalCommunicationInsert value
     * @param \ArrayType\ArrayOfPersonalCommunicationInsert $personalCommunicationInsert
     * @return \StructType\DispatcherInsert_V2
     */
    public function setPersonalCommunicationInsert(\ArrayType\ArrayOfPersonalCommunicationInsert $personalCommunicationInsert = null)
    {
        $this->PersonalCommunicationInsert = $personalCommunicationInsert;
        return $this;
    }
}
