<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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