<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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