<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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