<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for TextMessageOutboxSelection StructType
 * @subpackage Structs
 */
class TextMessageOutboxSelection extends AbstractStructBase
{
    /**
     * The DateTimeRange
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\DateTimeRangeSelection
     */
    public $DateTimeRange;
    /**
     * The SelectionFromToday
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\DateTimeSelection
     */
    public $SelectionFromToday;
    /**
     * The TextMessages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfLong
     */
    public $TextMessages;
    /**
     * Constructor method for TextMessageOutboxSelection
     * @uses TextMessageOutboxSelection::setDateTimeRange()
     * @uses TextMessageOutboxSelection::setSelectionFromToday()
     * @uses TextMessageOutboxSelection::setTextMessages()
     * @param \StructType\DateTimeRangeSelection $dateTimeRange
     * @param \StructType\DateTimeSelection $selectionFromToday
     * @param \ArrayType\ArrayOfLong $textMessages
     */
    public function __construct(\StructType\DateTimeRangeSelection $dateTimeRange = null, \StructType\DateTimeSelection $selectionFromToday = null, \ArrayType\ArrayOfLong $textMessages = null)
    {
        $this
            ->setDateTimeRange($dateTimeRange)
            ->setSelectionFromToday($selectionFromToday)
            ->setTextMessages($textMessages);
    }
    /**
     * Get DateTimeRange value
     * @return \StructType\DateTimeRangeSelection|null
     */
    public function getDateTimeRange()
    {
        return $this->DateTimeRange;
    }
    /**
     * Set DateTimeRange value
     * @param \StructType\DateTimeRangeSelection $dateTimeRange
     * @return \StructType\TextMessageOutboxSelection
     */
    public function setDateTimeRange(\StructType\DateTimeRangeSelection $dateTimeRange = null)
    {
        $this->DateTimeRange = $dateTimeRange;
        return $this;
    }
    /**
     * Get SelectionFromToday value
     * @return \StructType\DateTimeSelection|null
     */
    public function getSelectionFromToday()
    {
        return $this->SelectionFromToday;
    }
    /**
     * Set SelectionFromToday value
     * @param \StructType\DateTimeSelection $selectionFromToday
     * @return \StructType\TextMessageOutboxSelection
     */
    public function setSelectionFromToday(\StructType\DateTimeSelection $selectionFromToday = null)
    {
        $this->SelectionFromToday = $selectionFromToday;
        return $this;
    }
    /**
     * Get TextMessages value
     * @return \ArrayType\ArrayOfLong|null
     */
    public function getTextMessages()
    {
        return $this->TextMessages;
    }
    /**
     * Set TextMessages value
     * @param \ArrayType\ArrayOfLong $textMessages
     * @return \StructType\TextMessageOutboxSelection
     */
    public function setTextMessages(\ArrayType\ArrayOfLong $textMessages = null)
    {
        $this->TextMessages = $textMessages;
        return $this;
    }
}
