using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace uRelease.Models { using System.Diagnostics; public class AggregateView { public string version { get; set; } public bool released { get; set; } public bool latestRelease { get; set; } public bool inProgressRelease { get; set; } public bool isPatch { get; set; } public string releaseDate { get; set; } public string releaseStatus { get; set; } public string releaseDescription { get; set; } public IEnumerable issues { get; set; } public IEnumerable activities { get; set; } public bool currentRelease { get; set; } public bool plannedRelease { get; set; } } public class IssuesWrapper { public List Issues { get; set; } } [DebuggerDisplay("Issue: {Id}")] public class Issue { public string Id { get; set; } //public string Id { get; set; } //public List Field { get; set; } public List Fields { get; set; } } [DebuggerDisplay("Field: {Name} {Value}")] public class Field { public string Name { get; set; } public string Value { get; set; } } public class Changes : List { //public List Change { get; set; } public Issue Issue { get; set; } } public class Change { public List Fields { get; set; } //public string Name { get; set; } //public string Value { get; set; } //public string NewValue { get; set; } //public string OldValue { get; set; } //public List Fields { get; set; } public class Field { public string name { get; set; } public string Name { get; set; } public string Value { get; set; } public string NewValue { get; set; } public string OldValue { get; set; } } } public class IssueView { public string id { get; set; } public string title { get; set; } public string state { get; set; } public string type { get; set; } public Boolean breaking { get; set; } } public class ActivityView { /// /// Gets or sets the issue id for the activity /// /// The id. public string id { get; set; } public string username { get; set; } public long date { get; set; } public IEnumerable changes { get; set; } } public class ChangeView { public string fieldName { get; set; } public string oldValue { get; set; } public string newValue { get; set; } } }