<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for associatedRemoteDestinationProfiles StructType
 * Meta information extracted from the WSDL
 * - documentation: Read-Only.These groups automatically get added once the user is associated with a Remote Destination Profile.
 * @subpackage Structs
 */
class AssociatedRemoteDestinationProfiles extends AbstractStructBase
{
    /**
     * The remoteDestinationProfile
     * Meta information extracted from the WSDL
     * - documentation: Name of the remoteDestinationProfile
     * - maxOccurs: unbounded
     * - minOccurs: 0
     * @var string[]
     */
    public $remoteDestinationProfile;
    /**
     * Constructor method for associatedRemoteDestinationProfiles
     * @uses AssociatedRemoteDestinationProfiles::setRemoteDestinationProfile()
     * @param string[] $remoteDestinationProfile
     */
    public function __construct(array $remoteDestinationProfile = array())
    {
        $this
            ->setRemoteDestinationProfile($remoteDestinationProfile);
    }
    /**
     * Get remoteDestinationProfile value
     * @return string[]|null
     */
    public function getRemoteDestinationProfile()
    {
        return $this->remoteDestinationProfile;
    }
    /**
     * Set remoteDestinationProfile value
     * @param string[] $remoteDestinationProfile
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AssociatedRemoteDestinationProfiles
     */
    public function setRemoteDestinationProfile(array $remoteDestinationProfile = array())
    {
        $this->remoteDestinationProfile = $remoteDestinationProfile;
        return $this;
    }
    /**
     * Add item to remoteDestinationProfile value
     * @throws \InvalidArgumentException
     * @param string $item
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AssociatedRemoteDestinationProfiles
     */
    public function addToRemoteDestinationProfile($item)
    {
        $this->remoteDestinationProfile[] = $item;
        return $this;
    }
}
