<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetTextMessagesInbox_V2 StructType
 * @subpackage Structs
 */
class GetTextMessagesInbox_V2 extends ExecutionResult
{
    /**
     * The Inbox
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfTextMessageInbox_V2
     */
    public $Inbox;
    /**
     * Constructor method for GetTextMessagesInbox_V2
     * @uses GetTextMessagesInbox_V2::setInbox()
     * @param \ArrayType\ArrayOfTextMessageInbox_V2 $inbox
     */
    public function __construct(\ArrayType\ArrayOfTextMessageInbox_V2 $inbox = null)
    {
        $this
            ->setInbox($inbox);
    }
    /**
     * Get Inbox value
     * @return \ArrayType\ArrayOfTextMessageInbox_V2|null
     */
    public function getInbox()
    {
        return $this->Inbox;
    }
    /**
     * Set Inbox value
     * @param \ArrayType\ArrayOfTextMessageInbox_V2 $inbox
     * @return \StructType\GetTextMessagesInbox_V2
     */
    public function setInbox(\ArrayType\ArrayOfTextMessageInbox_V2 $inbox = null)
    {
        $this->Inbox = $inbox;
        return $this;
    }
}
