<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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