<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddExternalCallControlProfileReq StructType
 * @subpackage Structs
 */
class AddExternalCallControlProfileReq extends APIRequest
{
    /**
     * The externalCallControlProfile
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XExternalCallControlProfile
     */
    public $externalCallControlProfile;
    /**
     * Constructor method for AddExternalCallControlProfileReq
     * @uses AddExternalCallControlProfileReq::setExternalCallControlProfile()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XExternalCallControlProfile $externalCallControlProfile
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XExternalCallControlProfile $externalCallControlProfile = null)
    {
        $this
            ->setExternalCallControlProfile($externalCallControlProfile);
    }
    /**
     * Get externalCallControlProfile value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XExternalCallControlProfile|null
     */
    public function getExternalCallControlProfile()
    {
        return $this->externalCallControlProfile;
    }
    /**
     * Set externalCallControlProfile value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XExternalCallControlProfile $externalCallControlProfile
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AddExternalCallControlProfileReq
     */
    public function setExternalCallControlProfile(\\Losc\CucmBundle\Model\Webservice\StructType\XExternalCallControlProfile $externalCallControlProfile = null)
    {
        $this->externalCallControlProfile = $externalCallControlProfile;
        return $this;
    }
}
