<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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