<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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