<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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