<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AlertCMethod4SecondaryPointLocation StructType
 * @subpackage Structs
 */
class AlertCMethod4SecondaryPointLocation extends AbstractStructBase
{
    /**
     * The alertCLocation
     * @var \StructType\AlertCLocation
     */
    public $alertCLocation;
    /**
     * The offsetDistance
     * @var \StructType\OffsetDistance
     */
    public $offsetDistance;
    /**
     * The alertCMethod4SecondaryPointLocationExtension
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ExtensionType
     */
    public $alertCMethod4SecondaryPointLocationExtension;
    /**
     * Constructor method for AlertCMethod4SecondaryPointLocation
     * @uses AlertCMethod4SecondaryPointLocation::setAlertCLocation()
     * @uses AlertCMethod4SecondaryPointLocation::setOffsetDistance()
     * @uses AlertCMethod4SecondaryPointLocation::setAlertCMethod4SecondaryPointLocationExtension()
     * @param \StructType\AlertCLocation $alertCLocation
     * @param \StructType\OffsetDistance $offsetDistance
     * @param \StructType\ExtensionType $alertCMethod4SecondaryPointLocationExtension
     */
    public function __construct(\StructType\AlertCLocation $alertCLocation = null, \StructType\OffsetDistance $offsetDistance = null, \StructType\ExtensionType $alertCMethod4SecondaryPointLocationExtension = null)
    {
        $this
            ->setAlertCLocation($alertCLocation)
            ->setOffsetDistance($offsetDistance)
            ->setAlertCMethod4SecondaryPointLocationExtension($alertCMethod4SecondaryPointLocationExtension);
    }
    /**
     * Get alertCLocation value
     * @return \StructType\AlertCLocation|null
     */
    public function getAlertCLocation()
    {
        return $this->alertCLocation;
    }
    /**
     * Set alertCLocation value
     * @param \StructType\AlertCLocation $alertCLocation
     * @return \StructType\AlertCMethod4SecondaryPointLocation
     */
    public function setAlertCLocation(\StructType\AlertCLocation $alertCLocation = null)
    {
        $this->alertCLocation = $alertCLocation;
        return $this;
    }
    /**
     * Get offsetDistance value
     * @return \StructType\OffsetDistance|null
     */
    public function getOffsetDistance()
    {
        return $this->offsetDistance;
    }
    /**
     * Set offsetDistance value
     * @param \StructType\OffsetDistance $offsetDistance
     * @return \StructType\AlertCMethod4SecondaryPointLocation
     */
    public function setOffsetDistance(\StructType\OffsetDistance $offsetDistance = null)
    {
        $this->offsetDistance = $offsetDistance;
        return $this;
    }
    /**
     * Get alertCMethod4SecondaryPointLocationExtension value
     * @return \StructType\ExtensionType|null
     */
    public function getAlertCMethod4SecondaryPointLocationExtension()
    {
        return $this->alertCMethod4SecondaryPointLocationExtension;
    }
    /**
     * Set alertCMethod4SecondaryPointLocationExtension value
     * @param \StructType\ExtensionType $alertCMethod4SecondaryPointLocationExtension
     * @return \StructType\AlertCMethod4SecondaryPointLocation
     */
    public function setAlertCMethod4SecondaryPointLocationExtension(\StructType\ExtensionType $alertCMethod4SecondaryPointLocationExtension = null)
    {
        $this->alertCMethod4SecondaryPointLocationExtension = $alertCMethod4SecondaryPointLocationExtension;
        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\AlertCMethod4SecondaryPointLocation
     */
    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__;
    }
}
