using System; using System.Runtime.Serialization; namespace GitHub.Build.WebApi { /// /// Represents information about a build report. /// [DataContract] public class BuildReportMetadata { public BuildReportMetadata() { } public BuildReportMetadata(Int32 buildId, String type) { this.BuildId = buildId; this.Type = type; } /// /// The Id of the build. /// [DataMember(EmitDefaultValue = false)] public Int32 BuildId { get; set; } /// /// The content of the report. /// [DataMember(EmitDefaultValue = false)] public String Content { get; set; } /// /// The type of the report. /// /// /// See for a list of supported report types. /// [DataMember(EmitDefaultValue = false)] public String Type { get; set; } } }