<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for associatedBlfSdFeatures StructType
 * @subpackage Structs
 */
class AssociatedBlfSdFeatures extends AbstractStructBase
{
    /**
     * The feature
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 0
     * @var string[]
     */
    public $feature;
    /**
     * Constructor method for associatedBlfSdFeatures
     * @uses AssociatedBlfSdFeatures::setFeature()
     * @param string[] $feature
     */
    public function __construct(array $feature = array())
    {
        $this
            ->setFeature($feature);
    }
    /**
     * Get feature value
     * @return string[]|null
     */
    public function getFeature()
    {
        return $this->feature;
    }
    /**
     * Set feature value
     * @param string[] $feature
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AssociatedBlfSdFeatures
     */
    public function setFeature(array $feature = array())
    {
        $this->feature = $feature;
        return $this;
    }
    /**
     * Add item to feature value
     * @uses \\Losc\CucmBundle\Model\Webservice\EnumType\XBLFSDOption::valueIsValid()
     * @uses \\Losc\CucmBundle\Model\Webservice\EnumType\XBLFSDOption::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $item
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AssociatedBlfSdFeatures
     */
    public function addToFeature($item)
    {
        $this->feature[] = $item;
        return $this;
    }
}
