<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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