<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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