<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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