using System; using System.Runtime.Serialization; using GitHub.Services.WebApi; namespace GitHub.Build.WebApi { /// /// Represents a reference to a timeline. /// [DataContract] public class TimelineReference : BaseSecuredObject { internal TimelineReference() { } internal TimelineReference( ISecuredObject securedObject) : base(securedObject) { } /// /// The ID of the timeline. /// [DataMember(Order = 1)] public Guid Id { get; internal set; } /// /// The change ID. /// /// /// This is a monotonically-increasing number used to ensure consistency in the UI. /// [DataMember(Order = 2)] public Int32 ChangeId { get; internal set; } /// /// The REST URL of the timeline. /// [DataMember(Order = 3)] public String Url { get; set; } } }