<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for lines StructType
 * @subpackage Structs
 */
class Lines extends AbstractStructBase
{
    /**
     * The line
     * Meta informations extracted from the WSDL
     * - documentation: An XLine is an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. | An XLine is an entry in the DeviceNumPlanMap table. The actual directory
     * number is referenced inside the XLine object by the "dirn" or "dirnId" element. | An XLine is an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. | An XLine is
     * an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. | An XLine is an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the
     * XLine object by the "dirn" or "dirnId" element. | An XLine is an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. | An XLine is an entry in the DeviceNumPlanMap
     * table. The actual directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. | An XLine is an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the XLine object by the "dirn" or
     * "dirnId" element. | An XLine is an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. | An XLine is an entry in the DeviceNumPlanMap table. The actual directory
     * number is referenced inside the XLine object by the "dirn" or "dirnId" element. | An XLine is an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. Not applicable
     * to FXO ports | An XLine is an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. Not applicable to FXO ports | An XLine is an entry in the DeviceNumPlanMap table.
     * The actual directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. Not applicable to FXO ports | An XLine is an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the XLine object
     * by the "dirn" or "dirnId" element. Not applicable to FXO ports | An XLine is an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. Not applicable to FXO ports | An
     * XLine is an entry in the DeviceNumPlanMap table. The actual directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. Not applicable to FXO ports | An XLine is an entry in the DeviceNumPlanMap table. The actual
     * directory number is referenced inside the XLine object by the "dirn" or "dirnId" element. Not applicable to FXO ports
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var XPhoneLine
     */
    public $line;
    /**
     * The lineIdentifier
     * Meta informations extracted from the WSDL
     * - documentation: The lineIdentifier is a shorthand method that refers to a particular directory number. | The lineIdentifier is a shorthand method that refers to a particular directory number. | The lineIdentifier is a shorthand method that refers to
     * a particular directory number. | The lineIdentifier is a shorthand method that refers to a particular directory number. | The lineIdentifier is a shorthand method that refers to a particular directory number. | The lineIdentifier is a shorthand
     * method that refers to a particular directory number. | The lineIdentifier is a shorthand method that refers to a particular directory number. | The lineIdentifier is a shorthand method that refers to a particular directory number. | The
     * lineIdentifier is a shorthand method that refers to a particular directory number. | The lineIdentifier is a shorthand method that refers to a particular directory number. | The lineIdentifier is a shorthand method that refers to a particular
     * directory number. | The lineIdentifier is a shorthand method that refers to a particular directory number. | The lineIdentifier is a shorthand method that refers to a particular directory number. | The lineIdentifier is a shorthand method that refers
     * to a particular directory number. | The lineIdentifier is a shorthand method that refers to a particular directory number. | The lineIdentifier is a shorthand method that refers to a particular directory number. | The lineIdentifier is a shorthand
     * method that refers to a particular directory number.
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var XNumplanIdentifier
     */
    public $lineIdentifier;
    /**
     * Constructor method for lines
     * @uses Lines::setLine()
     * @uses Lines::setLineIdentifier()
     * @param XPhoneLine $line
     * @param XNumplanIdentifier $lineIdentifier
     */
    public function __construct(XPhoneLine $line = null, XNumplanIdentifier $lineIdentifier = null)
    {
        $this
            ->setLine($line)
            ->setLineIdentifier($lineIdentifier);
    }
    /**
     * Get line value
     * @return XPhoneLine
     */
    public function getLine()
    {
        return $this->line;
    }
    /**
     * Set line value
     * @param XPhoneLine $line
     * @return Lines
     */
    public function setLine(XPhoneLine $line = null)
    {
        $this->line = $line;
        return $this;
    }
    /**
     * Get lineIdentifier value
     * @return XNumplanIdentifier
     */
    public function getLineIdentifier()
    {
        return $this->lineIdentifier;
    }
    /**
     * Set lineIdentifier value
     * @param XNumplanIdentifier $lineIdentifier
     * @return Lines
     */
    public function setLineIdentifier(XNumplanIdentifier $lineIdentifier = null)
    {
        $this->lineIdentifier = $lineIdentifier;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return Lines
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
