<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AlertCMethod4Linear StructType
 * @subpackage Structs
 */
class AlertCMethod4Linear extends AlertCLinear
{
    /**
     * The alertCDirection
     * @var \StructType\AlertCDirection
     */
    public $alertCDirection;
    /**
     * The alertCMethod4PrimaryPointLocation
     * @var \StructType\AlertCMethod4PrimaryPointLocation
     */
    public $alertCMethod4PrimaryPointLocation;
    /**
     * The alertCMethod4SecondaryPointLocation
     * @var \StructType\AlertCMethod4SecondaryPointLocation
     */
    public $alertCMethod4SecondaryPointLocation;
    /**
     * The alertCMethod4LinearExtension
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ExtensionType
     */
    public $alertCMethod4LinearExtension;
    /**
     * Constructor method for AlertCMethod4Linear
     * @uses AlertCMethod4Linear::setAlertCDirection()
     * @uses AlertCMethod4Linear::setAlertCMethod4PrimaryPointLocation()
     * @uses AlertCMethod4Linear::setAlertCMethod4SecondaryPointLocation()
     * @uses AlertCMethod4Linear::setAlertCMethod4LinearExtension()
     * @param \StructType\AlertCDirection $alertCDirection
     * @param \StructType\AlertCMethod4PrimaryPointLocation $alertCMethod4PrimaryPointLocation
     * @param \StructType\AlertCMethod4SecondaryPointLocation $alertCMethod4SecondaryPointLocation
     * @param \StructType\ExtensionType $alertCMethod4LinearExtension
     */
    public function __construct(\StructType\AlertCDirection $alertCDirection = null, \StructType\AlertCMethod4PrimaryPointLocation $alertCMethod4PrimaryPointLocation = null, \StructType\AlertCMethod4SecondaryPointLocation $alertCMethod4SecondaryPointLocation = null, \StructType\ExtensionType $alertCMethod4LinearExtension = null)
    {
        $this
            ->setAlertCDirection($alertCDirection)
            ->setAlertCMethod4PrimaryPointLocation($alertCMethod4PrimaryPointLocation)
            ->setAlertCMethod4SecondaryPointLocation($alertCMethod4SecondaryPointLocation)
            ->setAlertCMethod4LinearExtension($alertCMethod4LinearExtension);
    }
    /**
     * Get alertCDirection value
     * @return \StructType\AlertCDirection|null
     */
    public function getAlertCDirection()
    {
        return $this->alertCDirection;
    }
    /**
     * Set alertCDirection value
     * @param \StructType\AlertCDirection $alertCDirection
     * @return \StructType\AlertCMethod4Linear
     */
    public function setAlertCDirection(\StructType\AlertCDirection $alertCDirection = null)
    {
        $this->alertCDirection = $alertCDirection;
        return $this;
    }
    /**
     * Get alertCMethod4PrimaryPointLocation value
     * @return \StructType\AlertCMethod4PrimaryPointLocation|null
     */
    public function getAlertCMethod4PrimaryPointLocation()
    {
        return $this->alertCMethod4PrimaryPointLocation;
    }
    /**
     * Set alertCMethod4PrimaryPointLocation value
     * @param \StructType\AlertCMethod4PrimaryPointLocation $alertCMethod4PrimaryPointLocation
     * @return \StructType\AlertCMethod4Linear
     */
    public function setAlertCMethod4PrimaryPointLocation(\StructType\AlertCMethod4PrimaryPointLocation $alertCMethod4PrimaryPointLocation = null)
    {
        $this->alertCMethod4PrimaryPointLocation = $alertCMethod4PrimaryPointLocation;
        return $this;
    }
    /**
     * Get alertCMethod4SecondaryPointLocation value
     * @return \StructType\AlertCMethod4SecondaryPointLocation|null
     */
    public function getAlertCMethod4SecondaryPointLocation()
    {
        return $this->alertCMethod4SecondaryPointLocation;
    }
    /**
     * Set alertCMethod4SecondaryPointLocation value
     * @param \StructType\AlertCMethod4SecondaryPointLocation $alertCMethod4SecondaryPointLocation
     * @return \StructType\AlertCMethod4Linear
     */
    public function setAlertCMethod4SecondaryPointLocation(\StructType\AlertCMethod4SecondaryPointLocation $alertCMethod4SecondaryPointLocation = null)
    {
        $this->alertCMethod4SecondaryPointLocation = $alertCMethod4SecondaryPointLocation;
        return $this;
    }
    /**
     * Get alertCMethod4LinearExtension value
     * @return \StructType\ExtensionType|null
     */
    public function getAlertCMethod4LinearExtension()
    {
        return $this->alertCMethod4LinearExtension;
    }
    /**
     * Set alertCMethod4LinearExtension value
     * @param \StructType\ExtensionType $alertCMethod4LinearExtension
     * @return \StructType\AlertCMethod4Linear
     */
    public function setAlertCMethod4LinearExtension(\StructType\ExtensionType $alertCMethod4LinearExtension = null)
    {
        $this->alertCMethod4LinearExtension = $alertCMethod4LinearExtension;
        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 \StructType\AlertCMethod4Linear
     */
    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__;
    }
}
