<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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