<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XTimeScheduleTimePeriod StructType
 * @subpackage Structs
 */
class XTimeScheduleTimePeriod extends AbstractStructBase
{
    /**
     * The timePeriodName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $timePeriodName;
    /**
     * Constructor method for XTimeScheduleTimePeriod
     * @uses XTimeScheduleTimePeriod::setTimePeriodName()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $timePeriodName
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $timePeriodName = null)
    {
        $this
            ->setTimePeriodName($timePeriodName);
    }
    /**
     * Get timePeriodName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public function getTimePeriodName()
    {
        return $this->timePeriodName;
    }
    /**
     * Set timePeriodName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $timePeriodName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XTimeScheduleTimePeriod
     */
    public function setTimePeriodName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $timePeriodName = null)
    {
        $this->timePeriodName = $timePeriodName;
        return $this;
    }
}
