<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetAlarmMessage StructType
 * @subpackage Structs
 */
class GetAlarmMessage extends ExecutionResult
{
    /**
     * The AlarmMessages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfAlarmMessageResult
     */
    public $AlarmMessages;
    /**
     * Constructor method for GetAlarmMessage
     * @uses GetAlarmMessage::setAlarmMessages()
     * @param \ArrayType\ArrayOfAlarmMessageResult $alarmMessages
     */
    public function __construct(\ArrayType\ArrayOfAlarmMessageResult $alarmMessages = null)
    {
        $this
            ->setAlarmMessages($alarmMessages);
    }
    /**
     * Get AlarmMessages value
     * @return \ArrayType\ArrayOfAlarmMessageResult|null
     */
    public function getAlarmMessages()
    {
        return $this->AlarmMessages;
    }
    /**
     * Set AlarmMessages value
     * @param \ArrayType\ArrayOfAlarmMessageResult $alarmMessages
     * @return \StructType\GetAlarmMessage
     */
    public function setAlarmMessages(\ArrayType\ArrayOfAlarmMessageResult $alarmMessages = null)
    {
        $this->AlarmMessages = $alarmMessages;
        return $this;
    }
}
