/**
  * Creates a new instance of this class.
  *
  * Additional to the parent's user config property, an instance of this
  * class needs to be configured with parameters holding a messageLocation,
  * providing detailed information about the location of the message that
  * is requested.
  *
  * @param Array $options An array of options this request gets configured
  *                       with.
  *                       - user: \Conjoon\User\User
  *                       - messageLocation:
  *                         \Conjoon\Mail\Client\Message\MessageLocation
  *
  * @throws \Conjoon\Argument\InvalidArgumentException
  */
 public function __construct(array $options)
 {
     parent::__construct($options);
     ArgumentCheck::check(array('messageLocation' => array('type' => 'instanceof', 'class' => '\\Conjoon\\Mail\\Client\\Message\\MessageLocation')), $this->parameters);
 }
 /**
  * Creates a new instance of this class.
  *
  * Additional to the parent's user config property, an instance of this
  * class needs to be configured with parameters holding a folderFlagCollection,
  * providing detailed information about the flags which have to be set for which
  * messages.
  *
  * @param Array $options An array of options this request gets configured
  *                       with.
  *                       - user: \Conjoon\User\User
  *                       - folderFlagCollection:
  *                         \Conjoon\Mail\Client\Message\Flag\FolderFlagCollection
  *
  * @throws \Conjoon\Argument\InvalidArgumentException
  */
 public function __construct(array $options)
 {
     parent::__construct($options);
     ArgumentCheck::check(array('folderFlagCollection' => array('type' => 'instanceof', 'class' => '\\Conjoon\\Mail\\Client\\Message\\Flag\\FolderFlagCollection')), $this->parameters);
     $this->folderFlagCollection = $this->parameters['folderFlagCollection'];
 }