<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for dialParameters StructType
 * @subpackage Structs
 */
class DialParameters extends AbstractStructBase
{
    /**
     * The dialParameter
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\LParameterMember[]
     */
    public $dialParameter;
    /**
     * Constructor method for dialParameters
     * @uses DialParameters::setDialParameter()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\LParameterMember[] $dialParameter
     */
    public function __construct(array $dialParameter = array())
    {
        $this
            ->setDialParameter($dialParameter);
    }
    /**
     * Get dialParameter value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\LParameterMember[]
     */
    public function getDialParameter()
    {
        return $this->dialParameter;
    }
    /**
     * Set dialParameter value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\LParameterMember[] $dialParameter
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\DialParameters
     */
    public function setDialParameter(array $dialParameter = array())
    {
        $this->dialParameter = $dialParameter;
        return $this;
    }
    /**
     * Add item to dialParameter value
     * @throws \InvalidArgumentException
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\LParameterMember $item
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\DialParameters
     */
    public function addToDialParameter(\\Losc\CucmBundle\Model\Webservice\StructType\LParameterMember $item)
    {
        $this->dialParameter[] = $item;
        return $this;
    }
}
