<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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