<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetMagellanAlarm StructType
 * @subpackage Structs
 */
class GetMagellanAlarm extends ExecutionResult
{
    /**
     * The MagellanTracer
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\MagellanTracerIdentifierResult
     */
    public $MagellanTracer;
    /**
     * The MagellanTracerAlarms
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfMagellanTracerAlarmInfo
     */
    public $MagellanTracerAlarms;
    /**
     * Constructor method for GetMagellanAlarm
     * @uses GetMagellanAlarm::setMagellanTracer()
     * @uses GetMagellanAlarm::setMagellanTracerAlarms()
     * @param \StructType\MagellanTracerIdentifierResult $magellanTracer
     * @param \ArrayType\ArrayOfMagellanTracerAlarmInfo $magellanTracerAlarms
     */
    public function __construct(\StructType\MagellanTracerIdentifierResult $magellanTracer = null, \ArrayType\ArrayOfMagellanTracerAlarmInfo $magellanTracerAlarms = null)
    {
        $this
            ->setMagellanTracer($magellanTracer)
            ->setMagellanTracerAlarms($magellanTracerAlarms);
    }
    /**
     * Get MagellanTracer value
     * @return \StructType\MagellanTracerIdentifierResult|null
     */
    public function getMagellanTracer()
    {
        return $this->MagellanTracer;
    }
    /**
     * Set MagellanTracer value
     * @param \StructType\MagellanTracerIdentifierResult $magellanTracer
     * @return \StructType\GetMagellanAlarm
     */
    public function setMagellanTracer(\StructType\MagellanTracerIdentifierResult $magellanTracer = null)
    {
        $this->MagellanTracer = $magellanTracer;
        return $this;
    }
    /**
     * Get MagellanTracerAlarms value
     * @return \ArrayType\ArrayOfMagellanTracerAlarmInfo|null
     */
    public function getMagellanTracerAlarms()
    {
        return $this->MagellanTracerAlarms;
    }
    /**
     * Set MagellanTracerAlarms value
     * @param \ArrayType\ArrayOfMagellanTracerAlarmInfo $magellanTracerAlarms
     * @return \StructType\GetMagellanAlarm
     */
    public function setMagellanTracerAlarms(\ArrayType\ArrayOfMagellanTracerAlarmInfo $magellanTracerAlarms = null)
    {
        $this->MagellanTracerAlarms = $magellanTracerAlarms;
        return $this;
    }
}
