<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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