<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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