namespace AsterNET.Manager.Response
{
///
/// A MailboxCountResponse is sent in response to a MailboxCountAction and contains the number of old
/// and new messages in a mailbox.
///
///
public class MailboxCountResponse : ManagerResponse
{
private string mailbox;
private int newMessages;
private int oldMessages;
///
/// Get/Set the name of the mailbox.
///
public string Mailbox
{
get { return mailbox; }
set { this.mailbox = value; }
}
///
/// Get/Set the number of new messages in the mailbox.
///
public int NewMessages
{
get { return newMessages; }
set { this.newMessages = value; }
}
///
/// Returns the number of old messages in the mailbox.
///
public int OldMessages
{
get { return oldMessages; }
set { this.oldMessages = value; }
}
}
}