<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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