<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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