<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Get_AlarmMessages_V6 StructType
 * @subpackage Structs
 */
class Get_AlarmMessages_V6 extends AbstractStructBase
{
    /**
     * The Login
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\Login
     */
    public $Login;
    /**
     * The AlarmMessageSelection
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\AlarmMessageSelection_V3
     */
    public $AlarmMessageSelection;
    /**
     * Constructor method for Get_AlarmMessages_V6
     * @uses Get_AlarmMessages_V6::setLogin()
     * @uses Get_AlarmMessages_V6::setAlarmMessageSelection()
     * @param \StructType\Login $login
     * @param \StructType\AlarmMessageSelection_V3 $alarmMessageSelection
     */
    public function __construct(\StructType\Login $login = null, \StructType\AlarmMessageSelection_V3 $alarmMessageSelection = null)
    {
        $this
            ->setLogin($login)
            ->setAlarmMessageSelection($alarmMessageSelection);
    }
    /**
     * Get Login value
     * @return \StructType\Login|null
     */
    public function getLogin()
    {
        return $this->Login;
    }
    /**
     * Set Login value
     * @param \StructType\Login $login
     * @return \StructType\Get_AlarmMessages_V6
     */
    public function setLogin(\StructType\Login $login = null)
    {
        $this->Login = $login;
        return $this;
    }
    /**
     * Get AlarmMessageSelection value
     * @return \StructType\AlarmMessageSelection_V3|null
     */
    public function getAlarmMessageSelection()
    {
        return $this->AlarmMessageSelection;
    }
    /**
     * Set AlarmMessageSelection value
     * @param \StructType\AlarmMessageSelection_V3 $alarmMessageSelection
     * @return \StructType\Get_AlarmMessages_V6
     */
    public function setAlarmMessageSelection(\StructType\AlarmMessageSelection_V3 $alarmMessageSelection = null)
    {
        $this->AlarmMessageSelection = $alarmMessageSelection;
        return $this;
    }
}
