using System.Collections.Generic;
using System.Runtime.Serialization;
namespace UptimeSharp.Models
{
///
/// Alert Response
///
[DataContract]
internal class AlertResponse : ResponseBase
{
///
/// Gets or sets the item dictionary.
/// The list is 2 layers deep, so this one is necessary :-/
///
///
/// The item dictionary.
///
[DataMember(Name = "alertcontacts")]
public Dictionary> ItemDictionary { get; set; }
///
/// Gets the items.
///
///
/// The items.
///
[IgnoreDataMember]
public List Items
{
get
{
return ItemDictionary["alertcontact"];
}
}
}
}