<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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