<?php

namespace \Losc\CucmBundle\Model\Webservice\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for vpnGateways StructType
 * @subpackage Structs
 */
class VpnGateways extends AbstractStructBase
{
    /**
     * The vpnGateway
     * Meta information extracted from the WSDL
     * - maxOccurs: 3
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XVpnGroupMember[]
     */
    public $vpnGateway;
    /**
     * Constructor method for vpnGateways
     * @uses VpnGateways::setVpnGateway()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XVpnGroupMember[] $vpnGateway
     */
    public function __construct(array $vpnGateway = array())
    {
        $this
            ->setVpnGateway($vpnGateway);
    }
    /**
     * Get vpnGateway value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XVpnGroupMember[]|null
     */
    public function getVpnGateway()
    {
        return $this->vpnGateway;
    }
    /**
     * Set vpnGateway value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XVpnGroupMember[] $vpnGateway
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\VpnGateways
     */
    public function setVpnGateway(array $vpnGateway = array())
    {
        $this->vpnGateway = $vpnGateway;
        return $this;
    }
    /**
     * Add item to vpnGateway value
     * @throws \InvalidArgumentException
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XVpnGroupMember $item
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\VpnGateways
     */
    public function addToVpnGateway(\\Losc\CucmBundle\Model\Webservice\StructType\XVpnGroupMember $item)
    {
        $this->vpnGateway[] = $item;
        return $this;
    }
}
