<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for busyLampFields StructType
 * @subpackage Structs
 */
class BusyLampFields extends AbstractStructBase
{
    /**
     * The busyLampField
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XBusyLampField[]
     */
    public $busyLampField;
    /**
     * Constructor method for busyLampFields
     * @uses BusyLampFields::setBusyLampField()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XBusyLampField[] $busyLampField
     */
    public function __construct(array $busyLampField = array())
    {
        $this
            ->setBusyLampField($busyLampField);
    }
    /**
     * Get busyLampField value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XBusyLampField[]|null
     */
    public function getBusyLampField()
    {
        return $this->busyLampField;
    }
    /**
     * Set busyLampField value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XBusyLampField[] $busyLampField
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\BusyLampFields
     */
    public function setBusyLampField(array $busyLampField = array())
    {
        $this->busyLampField = $busyLampField;
        return $this;
    }
    /**
     * Add item to busyLampField value
     * @throws \InvalidArgumentException
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XBusyLampField $item
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\BusyLampFields
     */
    public function addToBusyLampField(\\Losc\CucmBundle\Model\Webservice\StructType\XBusyLampField $item)
    {
        $this->busyLampField[] = $item;
        return $this;
    }
}
