<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for serviceProfileInfos StructType
 * @subpackage Structs
 */
class ServiceProfileInfos extends AbstractStructBase
{
    /**
     * The serviceProfileInfo
     * Meta information extracted from the WSDL
     * - maxOccurs: 7
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XServiceProfileList[]
     */
    public $serviceProfileInfo;
    /**
     * Constructor method for serviceProfileInfos
     * @uses ServiceProfileInfos::setServiceProfileInfo()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XServiceProfileList[] $serviceProfileInfo
     */
    public function __construct(array $serviceProfileInfo = array())
    {
        $this
            ->setServiceProfileInfo($serviceProfileInfo);
    }
    /**
     * Get serviceProfileInfo value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XServiceProfileList[]|null
     */
    public function getServiceProfileInfo()
    {
        return $this->serviceProfileInfo;
    }
    /**
     * Set serviceProfileInfo value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XServiceProfileList[] $serviceProfileInfo
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ServiceProfileInfos
     */
    public function setServiceProfileInfo(array $serviceProfileInfo = array())
    {
        $this->serviceProfileInfo = $serviceProfileInfo;
        return $this;
    }
    /**
     * Add item to serviceProfileInfo value
     * @throws \InvalidArgumentException
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XServiceProfileList $item
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ServiceProfileInfos
     */
    public function addToServiceProfileInfo(\\Losc\CucmBundle\Model\Webservice\StructType\XServiceProfileList $item)
    {
        $this->serviceProfileInfo[] = $item;
        return $this;
    }
}
