<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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