<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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