<?php
/* Generated on 14.02.18 14:28 by globalsync
 * $Id: $
 * $Log: $
 */

require_once 'AbstractRequestType.php';
require_once 'MyMessagesAlertIDArrayType.php';
require_once 'MyMessagesMessageIDArrayType.php';
require_once 'MyMessagesExternalMessageIDArrayType.php';
require_once 'PaginationType.php';

/**
  * Retrieves information about the messages sent to a given user.
  * 
 **/

class GetMyMessagesRequestType extends AbstractRequestType
{
	/**
	* @var MyMessagesAlertIDArrayType
	**/
	protected $AlertIDs;

	/**
	* @var MyMessagesMessageIDArrayType
	**/
	protected $MessageIDs;

	/**
	* @var long
	**/
	protected $FolderID;

	/**
	* @var dateTime
	**/
	protected $StartTime;

	/**
	* @var dateTime
	**/
	protected $EndTime;

	/**
	* @var MyMessagesExternalMessageIDArrayType
	**/
	protected $ExternalMessageIDs;

	/**
	* @var PaginationType
	**/
	protected $Pagination;

	/**
	* @var boolean
	**/
	protected $IncludeHighPriorityMessageOnly;


	/**
	 * Class Constructor 
	 **/
	function __construct()
	{
		parent::__construct('GetMyMessagesRequestType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
		{
			self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class(__CLASS__)],
			array(
				'AlertIDs' =>
				array(
					'required' => false,
					'type' => 'MyMessagesAlertIDArrayType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'MessageIDs' =>
				array(
					'required' => false,
					'type' => 'MyMessagesMessageIDArrayType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'FolderID' =>
				array(
					'required' => false,
					'type' => 'long',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'StartTime' =>
				array(
					'required' => false,
					'type' => 'dateTime',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'EndTime' =>
				array(
					'required' => false,
					'type' => 'dateTime',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'ExternalMessageIDs' =>
				array(
					'required' => false,
					'type' => 'MyMessagesExternalMessageIDArrayType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'Pagination' =>
				array(
					'required' => false,
					'type' => 'PaginationType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'IncludeHighPriorityMessageOnly' =>
				array(
					'required' => false,
					'type' => 'boolean',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				)));
		}
		$this->_attributes = array_merge($this->_attributes,
		array(
));
	}

	/**
	 * @return MyMessagesAlertIDArrayType
	 **/
	function getAlertIDs()
	{
		return $this->AlertIDs;
	}

	/**
	 * @return void
	 **/
	function setAlertIDs($value)
	{
		$this->AlertIDs = $value;
	}

	/**
	 * @return MyMessagesMessageIDArrayType
	 **/
	function getMessageIDs()
	{
		return $this->MessageIDs;
	}

	/**
	 * @return void
	 **/
	function setMessageIDs($value)
	{
		$this->MessageIDs = $value;
	}

	/**
	 * @return long
	 **/
	function getFolderID()
	{
		return $this->FolderID;
	}

	/**
	 * @return void
	 **/
	function setFolderID($value)
	{
		$this->FolderID = $value;
	}

	/**
	 * @return dateTime
	 **/
	function getStartTime()
	{
		return $this->StartTime;
	}

	/**
	 * @return void
	 **/
	function setStartTime($value)
	{
		$this->StartTime = $value;
	}

	/**
	 * @return dateTime
	 **/
	function getEndTime()
	{
		return $this->EndTime;
	}

	/**
	 * @return void
	 **/
	function setEndTime($value)
	{
		$this->EndTime = $value;
	}

	/**
	 * @return MyMessagesExternalMessageIDArrayType
	 **/
	function getExternalMessageIDs()
	{
		return $this->ExternalMessageIDs;
	}

	/**
	 * @return void
	 **/
	function setExternalMessageIDs($value)
	{
		$this->ExternalMessageIDs = $value;
	}

	/**
	 * @return PaginationType
	 **/
	function getPagination()
	{
		return $this->Pagination;
	}

	/**
	 * @return void
	 **/
	function setPagination($value)
	{
		$this->Pagination = $value;
	}

	/**
	 * @return boolean
	 **/
	function getIncludeHighPriorityMessageOnly()
	{
		return $this->IncludeHighPriorityMessageOnly;
	}

	/**
	 * @return void
	 **/
	function setIncludeHighPriorityMessageOnly($value)
	{
		$this->IncludeHighPriorityMessageOnly = $value;
	}

}
?>
