public static ProblemsField WithFields( // Fields bool count = true, bool nextHref = false, bool prevHref = false, bool defaultValue = false, // Group Fields ProblemField problem = null) { return(new ProblemsField { // Fields Count = count, NextHref = nextHref, PrevHref = prevHref, Default = defaultValue, // Group Fields Problem = problem }); }
public static ProblemOccurrenceField WithFields( // Fields bool id = false, bool type = false, bool identity = false, bool href = false, bool muted = false, bool currentlyInvestigated = false, bool currentlyMuted = false, bool details = false, bool additionalData = false, bool logAnchor = false, // Group Fields ProblemField problem = null, MuteField mute = null, BuildField build = null ) { return(new ProblemOccurrenceField { // Fields Id = id, Type = type, Identity = identity, Href = href, Muted = muted, CurrentlyInvestigated = currentlyInvestigated, CurrentlyMuted = currentlyMuted, Details = details, AdditionalData = additionalData, LogAnchor = logAnchor, // Group Fields Problem = problem, Mute = mute, Build = build }); }