<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XNumplanIdentifier StructType
 * @subpackage Structs
 */
class XNumplanIdentifier extends AbstractStructBase
{
    /**
     * The directoryNumber
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - maxLength: 255
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $directoryNumber;
    /**
     * The routePartitionName
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - maxLength: 50
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: true
     * @var string
     */
    public $routePartitionName;
    /**
     * Constructor method for XNumplanIdentifier
     * @uses XNumplanIdentifier::setDirectoryNumber()
     * @uses XNumplanIdentifier::setRoutePartitionName()
     * @param string $directoryNumber
     * @param string $routePartitionName
     */
    public function __construct($directoryNumber = null, $routePartitionName = null)
    {
        $this
            ->setDirectoryNumber($directoryNumber)
            ->setRoutePartitionName($routePartitionName);
    }
    /**
     * Get directoryNumber value
     * @return string
     */
    public function getDirectoryNumber()
    {
        return $this->directoryNumber;
    }
    /**
     * Set directoryNumber value
     * @param string $directoryNumber
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XNumplanIdentifier
     */
    public function setDirectoryNumber($directoryNumber = null)
    {
        $this->directoryNumber = $directoryNumber;
        return $this;
    }
    /**
     * Get routePartitionName value
     * @return string
     */
    public function getRoutePartitionName()
    {
        return $this->routePartitionName;
    }
    /**
     * Set routePartitionName value
     * @param string $routePartitionName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XNumplanIdentifier
     */
    public function setRoutePartitionName($routePartitionName = null)
    {
        $this->routePartitionName = $routePartitionName;
        return $this;
    }
}
